bug in html line feeds in article editor
-
Hello There is a bug in CodeProject's site article html editor, regarding the line feeds. Example: If I enter this code:
<pre lang="cs">{<br />var data = new Hashtable()<br />using (var s = 0);<br />} </pre>
Then I press twice on "HTML" button/link, the code is wrongly transformed as:
<pre lang="cs">{<br />var data = new Hashtable()<br />using (var s = 0);<br />} </pre>
Some "br" html tags are unexpectandly transformed as text, not all. Tested on IE 11 and on FireFox 27.0.1. Somebody has a solution ? For now, I can not update my article (UniversalSerializer[^]). Thank you
-
Hello There is a bug in CodeProject's site article html editor, regarding the line feeds. Example: If I enter this code:
<pre lang="cs">{<br />var data = new Hashtable()<br />using (var s = 0);<br />} </pre>
Then I press twice on "HTML" button/link, the code is wrongly transformed as:
<pre lang="cs">{<br />var data = new Hashtable()<br />using (var s = 0);<br />} </pre>
Some "br" html tags are unexpectandly transformed as text, not all. Tested on IE 11 and on FireFox 27.0.1. Somebody has a solution ? For now, I can not update my article (UniversalSerializer[^]). Thank you
The article HTML editor is known as being buggy. It's recommended to write your article in Visual Studio or whatever your preferred HTML editor is and then send it (with all files included and zipped) to submit@codeproject.com
I will never again mention that Dalek Dave was the poster of the One Millionth Lounge Post, nor that it was complete drivel.
-
The article HTML editor is known as being buggy. It's recommended to write your article in Visual Studio or whatever your preferred HTML editor is and then send it (with all files included and zipped) to submit@codeproject.com
I will never again mention that Dalek Dave was the poster of the One Millionth Lounge Post, nor that it was complete drivel.
I Wonder how editors will treat an archive containing multiple images and distributable archives.. :) I am not sure they will want to put all in form.. especially if they use internally the same html editor/transformer as the site's one. That could lead to nervous breakdowns ! :) Personaly, I just lost two hours with this small line-feed problem, and I about to throw my update to the nearest dustbin and forget all this. :rolleyes: Thank you for your suggestion, I will probably do that in the end (when I'm out of patience). ;)
-
I Wonder how editors will treat an archive containing multiple images and distributable archives.. :) I am not sure they will want to put all in form.. especially if they use internally the same html editor/transformer as the site's one. That could lead to nervous breakdowns ! :) Personaly, I just lost two hours with this small line-feed problem, and I about to throw my update to the nearest dustbin and forget all this. :rolleyes: Thank you for your suggestion, I will probably do that in the end (when I'm out of patience). ;)
Christophe Bertrand wrote:
I am not sure they will want to put all in form.. especially if they use internally the same html editor/transformer as the site's one. That could lead to nervous breakdowns ! :)
Maybe that needs to happen until they fix the damn editor.
I will never again mention that Dalek Dave was the poster of the One Millionth Lounge Post, nor that it was complete drivel.
-
Christophe Bertrand wrote:
I am not sure they will want to put all in form.. especially if they use internally the same html editor/transformer as the site's one. That could lead to nervous breakdowns ! :)
Maybe that needs to happen until they fix the damn editor.
I will never again mention that Dalek Dave was the poster of the One Millionth Lounge Post, nor that it was complete drivel.
Somebody suggested I should replace all br by ordinary line feeds in pre blocks. That seems true in html. That is something I forgot completely. Problem is neither Kompozer, Blue Griffon nor this site'editor respect this rule. Maybe Dreamweaver does, but at what price ??? X| I am not sure I will change all my code by hand. This update will wait.. maybe for a long time.
-
Somebody suggested I should replace all br by ordinary line feeds in pre blocks. That seems true in html. That is something I forgot completely. Problem is neither Kompozer, Blue Griffon nor this site'editor respect this rule. Maybe Dreamweaver does, but at what price ??? X| I am not sure I will change all my code by hand. This update will wait.. maybe for a long time.
Nothing to worry about anymore, see my email and the comment at the bottom of the freshly released article. Again: The Editor sucks really bad, and you better use an ordinary HTML editor the next time you try to update your article - Code blocks are a real PITA to format with the cripple.
I will never again mention that Dalek Dave was the poster of the One Millionth Lounge Post, nor that it was complete drivel.
-
Nothing to worry about anymore, see my email and the comment at the bottom of the freshly released article. Again: The Editor sucks really bad, and you better use an ordinary HTML editor the next time you try to update your article - Code blocks are a real PITA to format with the cripple.
I will never again mention that Dalek Dave was the poster of the One Millionth Lounge Post, nor that it was complete drivel.
Thank you, I replied on the article page. This little bug will make me hesitate next time I want to update or create an article.
-
Thank you, I replied on the article page. This little bug will make me hesitate next time I want to update or create an article.
I told you: Download the HTML, and the send the updated HTML to submit@codeproject.com. They will need to do it by hand until they fix the cripple. Until very recently there was a bug in it which made the article you are editing vanish, in an unrevocerable way.
I will never again mention that Dalek Dave was the poster of the One Millionth Lounge Post, nor that it was complete drivel.
-
Hello There is a bug in CodeProject's site article html editor, regarding the line feeds. Example: If I enter this code:
<pre lang="cs">{<br />var data = new Hashtable()<br />using (var s = 0);<br />} </pre>
Then I press twice on "HTML" button/link, the code is wrongly transformed as:
<pre lang="cs">{<br />var data = new Hashtable()<br />using (var s = 0);<br />} </pre>
Some "br" html tags are unexpectandly transformed as text, not all. Tested on IE 11 and on FireFox 27.0.1. Somebody has a solution ? For now, I can not update my article (UniversalSerializer[^]). Thank you
This seems to be a new bug. I encountered this myself on the weekend while using Firefox. I'll dig in and see what's happening.
cheers Chris Maunder
-
This seems to be a new bug. I encountered this myself on the weekend while using Firefox. I'll dig in and see what's happening.
cheers Chris Maunder
It's gonna mess your formatting up, that's gonna happen. It seems like codeblocks can't really handle line breaks.
I will never again mention that Dalek Dave was the poster of the One Millionth Lounge Post, nor that it was complete drivel.