HTML in a Wiki Page.
Hi All,
I was just searching through the forums as well as googling for a solution to the following:
When pasting a 'huge chunk' of formatted (ie. nice to read) html into a wiki page, the line breaks used for the html formatting are being converted as extra line breaks in the tiki document. So when you preview it where there was only one space you would see two....
My work around until now was to save the nice html and then using my handy dandy UltraEdit; do a search and replace for all CRs and convert them to nothing. This then mangles the HTML into a very difficult to read mash but the wiki will then render it fine.
What I was thinking was why not add a specific tag to be used to signal for embedded html in a wiki document. That way the special rules regarding ignoring HTML user friendly formating can be implemented without borking the normal treatment of CR in a normal wiki doc?
Something like {} {{{/HTML}}} could preface an html coded section.... I found an article on how smarty is being used to templates and I'll read that to see if I can get any clues.
I'm curious to hear what some of the devs have to say on this... ❓
Regards,
MichaelE
http://g33kv2.efamilynj.org