mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
c212c56806
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@573 0fc631ac-6414-0410-93d0-97cfa31319b6
18 lines
426 B
Plaintext
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.
|