doc: fix markup with wibox.widget.textbox:set_markup
This commit is contained in:
parent
1b6564f209
commit
ffa535ca29
|
@ -55,7 +55,7 @@ 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
|
||||
-- `<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)
|
||||
|
|
Loading…
Reference in New Issue