CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Peter's Gekko

public Blog MyNotepad : Imho { }

Writing on HTML in HTML

Recently I blogged a little on the mixup of code and data and the way IE can mess things up. Today I was hit again by this phenomenon. In a post on generating a script snippet, like all web posts written in HTML, some of the tags intended as a piece of example code started getting interpreted by the html parser. The result was somewhat funny, parts of the text dissapeared, being taken for a comment. Part of the script examples were taken for “real“ code and popped up script errror dialogs.You don't want to know what a mess it was, deleting the block and writing it again (very carefully) was the only solution which really worked.

blog on,

Peter



Check out Devlicio.us!

Our Sponsors

This Blog

Syndication

News