Files
MagicSetEditor2/doc/function/to_text.txt
T
twanvl c212c56806 Yet more function documentation
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@573 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-07-14 01:08:08 +00:00

18 lines
426 B
Plaintext

Function: to_text
--Usage--
> to_text(some_tagged_text)
Convert a [[type:tagged string]] to a normal string by removing all tags and restoring escaped < characters.
--Parameters--
! Parameter Type Description
| @input@ [[type:tagged string]] String to convert to text
--Examples--
> to_text("<b>bold text</b>") == "bold text"
--See also--
| [[fun:to_html]] Convert [[type:tagged text]] to html.