From ffa535ca29d2bea33527f6bc29d81985fbd3b9f7 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Thu, 26 Feb 2015 16:08:21 +0100 Subject: [PATCH] doc: fix markup with wibox.widget.textbox:set_markup --- lib/wibox/widget/textbox.lua.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wibox/widget/textbox.lua.in b/lib/wibox/widget/textbox.lua.in index fbd33a87e..80259d5e6 100644 --- a/lib/wibox/widget/textbox.lua.in +++ b/lib/wibox/widget/textbox.lua.in @@ -55,8 +55,8 @@ end --- Set the text of the textbox (with Pango markup). -- @param text The text to set. This can contain pango markup (e.g. ---
bold
). You can use awful.util.escape to escape --- parts of it. +-- `bold`). You can use awful.util.escape to escape +-- parts of it. function textbox:set_markup(text) local attr, parsed = Pango.parse_markup(text, -1, 0) -- In case of error, attr is false and parsed is an error message