573
edits
((back to work!) fixed the issue with newlines, wiki source should be way more readable now) |
("support" for highlighted words from phpBB search) |
||
Line 191: | Line 191: | ||
bbhtml = bbhtml.replace(/<span style="text-decoration: underline">(.*?)<\/span>/g, "<u>$1</u>"); | bbhtml = bbhtml.replace(/<span style="text-decoration: underline">(.*?)<\/span>/g, "<u>$1</u>"); | ||
bbhtml = bbhtml.replace(/<span style="font-style: italic">(.*?)<\/span>/g, "''$1''"); | bbhtml = bbhtml.replace(/<span style="font-style: italic">(.*?)<\/span>/g, "''$1''"); | ||
bbhtml = bbhtml.replace(/<span class="posthilit">(.*?)<\/span>/g, "$1"); | |||
return bbhtml; | return bbhtml; | ||
}; | }; |
edits