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,7 +55,7 @@ end
--- Set the text of the textbox (with Pango markup). --- Set the text of the textbox (with Pango markup).
-- @param text The text to set. This can contain pango markup (e.g. -- @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 -- `<b>bold</b>`). You can use awful.util.escape to escape
-- parts of it. -- parts of it.
function textbox:set_markup(text) function textbox:set_markup(text)
local attr, parsed = Pango.parse_markup(text, -1, 0) local attr, parsed = Pango.parse_markup(text, -1, 0)