doc: fix markup with wibox.widget.textbox:set_markup

This commit is contained in:
Daniel Hahler 2015-02-26 16:08:21 +01:00
parent 1b6564f209
commit ffa535ca29
1 changed files with 2 additions and 2 deletions

View File

@ -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.
-- <pre><b>bold</b></pre>). You can use awful.util.escape to escape
-- parts of it.
-- `<b>bold</b>`). 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