Jump to main navigation


Posts Tagged ‘innerHTML’

Internet Explorer and innerHTML in PRE elements

While I was working on modifying SHJS (a JavaScript syntax highlighter), I came across a very frustrating (and initially extremely puzzling) IE bug. Well, it might not be a bug, but it's a very strange and illogical behaviour. In short: IE performs text normalization when setting innerHTML. Sebastian Redl explains it in The Internet Explorer innerHTML Quirk. Read the full text...

Additional content and navigation

Categories

Recent comments