Editor trouble with formatted html
-
I have a technical blog here: SignalR is Magic[^] There are two snippets that are not rendering correctly. In the editor they look like this (good): http://i.imgur.com/UjmLWph.png[^] When they render they looks like this (bad): http://i.imgur.com/ckLlTVt.png[^] Here is the html: <pre> <span style="font-family: courier new,courier,monospace;"> <strong> Server Client </strong> PostScoreToServer C# ----- <span style="background-color: #ffff00;">SignalR Magic</span> -----> postScoreToServer JS </span> </pre>
-
I have a technical blog here: SignalR is Magic[^] There are two snippets that are not rendering correctly. In the editor they look like this (good): http://i.imgur.com/UjmLWph.png[^] When they render they looks like this (bad): http://i.imgur.com/ckLlTVt.png[^] Here is the html: <pre> <span style="font-family: courier new,courier,monospace;"> <strong> Server Client </strong> PostScoreToServer C# ----- <span style="background-color: #ffff00;">SignalR Magic</span> -----> postScoreToServer JS </span> </pre>
The article system can only handle some HTML in code blocks; other HTML is escaped. Bold, italics and underline works, and
span
-tags only work if they havehighlight
oremphasis
as class.The quick red ProgramFOX jumps right over the
Lazy<Dog>
. -
The article system can only handle some HTML in code blocks; other HTML is escaped. Bold, italics and underline works, and
span
-tags only work if they havehighlight
oremphasis
as class.The quick red ProgramFOX jumps right over the
Lazy<Dog>
.It looks like Sean Ewington just fixed it. Thanks Sean.
-
It looks like Sean Ewington just fixed it. Thanks Sean.
Actually it looks like it's still not highlighted. Sometimes the article editor gets mad at me when I try to highlight inside <pre> tags. I can try again if you'd like.
Thanks, Sean Ewington CodeProject
-
Actually it looks like it's still not highlighted. Sometimes the article editor gets mad at me when I try to highlight inside <pre> tags. I can try again if you'd like.
Thanks, Sean Ewington CodeProject
No, that's OK. The next time I want to do something really sophisticated like highlighting a word, I'll create an image and use that.