There are some issues i'd found in TW 2.0.7.
If *MarkupPostBody* contains some HTML elements, such as <div>,
<span>...,etc, as i have been saving changs second time will cause to
lose the contains between *<!--POST-BODY-START-->* and
*<!--POST-BODY-END-->* in saved document, and also
*<!--POST-BODY-START-->* itself.
As TW started with *safe mode*, the external scripts in *MarkupPreHead*
or *MarkupPreBody* are still loaded. This doesn't seem to make sense.
(WinXPSP2/ Firefox 1.5.01/ no plugins)
--
Bram
Looking at the code i think there's definitely a bug that would break
if the string "</div>" were in MarkPostBody. I couldn't get it to
misbehave with HTML code that didn't include "</div>" though.
> As TW started with *safe mode*, the external scripts in *MarkupPreHead*
> or *MarkupPreBody* are still loaded. This doesn't seem to make sense.
Hmmm I've barely got a chance to stop them loading. Perhaps for
MarkupPre/PostHead we could wrap the spliced content in a javascript
if() statement, but of course that technique wouldn't stop script
inside of <script> tags from executing in MarkupPostBody, for example.
Does anyone have any bright ideas how this could be done?
Cheers
Jeremy
--
Jeremy Ruston
mailto:jer...@osmosoft.com
http://www.tiddlywiki.com