Topic: Header tags are translated

Header tags (<h3> like) using the wiki mode are translated into the css equivalents, however this causes problems for the SEO and like. I'd like them to stay as I defined them :\

Re: Header tags are translated

Are you using TinyMCE or the plain text editor? And is this Enano 1.0.x (TinyMCE 2.x) or 1.1.x (TinyMCE 3.x)?

--Dan

Re: Header tags are translated

Plain text editor, 1.0.6

Re: Header tags are translated

OK, I looked at the code and I think I figured this out.

The reason the editor does this is because if TinyMCE starts, it will convert a line that looks like "=== Foo ===" to "<p>=== Foo ===</p>" which messes up the wikitext parser. Enano has to convert this to HTML, one so it looks good, but two so it doesn't confuse TinyMCE.

I've been trying to think of a good way to make wikitext and TinyMCE work well together for a good bit of time now, and it's a big challenge for sure. There will probably be something that goes into 1.1.6 to that end.

--Dan