From cc5c4147d91dd6d70cd5d5964dfe94ed81292c48 Mon Sep 17 00:00:00 2001 From: Justin Charette Date: Sun, 29 Jan 2017 14:15:51 -0500 Subject: [PATCH] doc: fix pr 1486 formatting (ldoc bug) with nbsp (0xa0) ldoc formatting has problems with code block lines that start with spaces. use non-blocking-space (unicode 0xa0) as a work around. Signed-off-by: Justin Charette --- docs/17-porting-tips.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/17-porting-tips.md b/docs/17-porting-tips.md index f63572a1..500fb432 100644 --- a/docs/17-porting-tips.md +++ b/docs/17-porting-tips.md @@ -97,7 +97,7 @@ work. Remove this section. The `quit` menu command must be wrapped in a function, otherwise an error occurs due to mismatched argument types from the v4.0 `awful.menu` library. - -- {{{ Menu +  -- {{{ Menu -- Create a laucher widget and a main menu myawesomemenu = { { "manual", terminal .. " -e man awesome" }, @@ -109,7 +109,7 @@ occurs due to mismatched argument types from the v4.0 `awful.menu` library. The textclock is now part of the `wibox` library, rename it. - -- {{{ Wibar +  -- {{{ Wibar -- Create a textclock widget -mytextclock = `awful.widget.textclock`() +mytextclock = `wibox.widget.textclock`()