mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Merge pull request #2401 from psychon/fix_doc_names
Fix incorrect @name annotation in gears.string
This commit is contained in:
commit
bed42a10ed
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ local xml_entity_names = { ["'"] = "'", ["\""] = """, ["<"] = "<",
|
|||
--- Escape a string from XML char.
|
||||
-- Useful to set raw text in textbox.
|
||||
-- @class function
|
||||
-- @name escape
|
||||
-- @name xml_escape
|
||||
-- @param text Text to escape.
|
||||
-- @return Escape text.
|
||||
function gstring.xml_escape(text)
|
||||
|
@ -21,7 +21,7 @@ local xml_entity_chars = { lt = "<", gt = ">", nbsp = " ", quot = "\"", apos = "
|
|||
amp = "&" };
|
||||
--- Unescape a string from entities.
|
||||
-- @class function
|
||||
-- @name unescape
|
||||
-- @name xml_unescape
|
||||
-- @param text Text to unescape.
|
||||
-- @return Unescaped text.
|
||||
function gstring.xml_unescape(text)
|
||||
|
|
Loading…
Reference in a new issue