Template:EscapeLinks
From AtlasWiki
Replaces the braces in wiki links, e.g. [[Foo]] becomes $OpenWikiLink$Foo$CloseWikiLink$.
Due to technical issues, all spaces in the input are also replaced with  , the HTML escape sequence that produces a space character.
Conversion back to the original (except for spaces, which, due to technical limitations, remain HTML-escaped) is provided by Template:ReconstructLinks. Provided, of course, that the original doesn't contain $OpenWikiLink$, or $CloseWikiLink$.
This is to allow text including links to be stored in Semantic MediaWiki properties.