| | |
Propose HTML + Javascript code formatting
![]() |
I'm not sure what you mean. Can you take a screenshot?
Dani the Computer Science Gal 
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds

Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Does this happen when there are multiple lines of code? Every line overlaps?
Dani the Computer Science Gal 
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds

Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
In Opera, I only see a single line ( and single line number ) in my posted codeblock..
But, there's a superfluous <li> in the HTML close to the screwy '</span</span>' part.. So, there should really be another line number shown.
In Firefox 2, I see the same as MidiMagic, a pair of line numbers, with one over the other; but ONLY in this (unfinished quote) case and normally they are absolutely fine.
The browsers are dealing with the bad bit of data differently, which is unsuprising really, since 'correct' behaviour isn't defined. Opera hides the next <li> and spills blue from the unclosed quote to the end of the Daniweb page, Firefox squashes the next <li> and continues as per usual.
I thought there'd be quite a simple explanation, like the parser starting a blue span and not closing it.. that's what it looks like in Opera. Personally, I wouldn't rank this problem as 'high priority' if you're having trouble nailing it down.. It doesn't seem to be exploitable.
But, there's a superfluous <li> in the HTML close to the screwy '</span</span>' part.. So, there should really be another line number shown.
In Firefox 2, I see the same as MidiMagic, a pair of line numbers, with one over the other; but ONLY in this (unfinished quote) case and normally they are absolutely fine.
The browsers are dealing with the bad bit of data differently, which is unsuprising really, since 'correct' behaviour isn't defined. Opera hides the next <li> and spills blue from the unclosed quote to the end of the Daniweb page, Firefox squashes the next <li> and continues as per usual.
I thought there'd be quite a simple explanation, like the parser starting a blue span and not closing it.. that's what it looks like in Opera. Personally, I wouldn't rank this problem as 'high priority' if you're having trouble nailing it down.. It doesn't seem to be exploitable.
Last edited by MattEvans; Sep 6th, 2007 at 8:11 pm.
Plato forgot the nullahedron..
Oh I forgot to mention, I fixed the problem (I think) yesterday but it only applies to new posts. Testing testing ...
html Syntax (Toggle Plain Text)
<a href="
std::string hello( "hi
Dani the Computer Science Gal 
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds

Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
•
•
•
•
Oh I forgot to mention, I fixed the problem (I think) yesterday but it only applies to new posts. Testing testing ...
html Syntax (Toggle Plain Text)
<a href="
std::string hello( "hi
These are OK.
Last edited by MidiMagic; Sep 6th, 2007 at 9:42 pm.
Daylight-saving time uses more gasoline
•
•
•
•
It blued out for me again, see attached. My post wasn't showing blue until you started it all over again =P.
Something is bloo-ey.
Since it involves busted span tags, maybe we should call this bloo problem "span spam."
Last edited by MidiMagic; Sep 6th, 2007 at 9:38 pm.
Daylight-saving time uses more gasoline
![]() |
Similar Threads
- "i want used confirm in javascript in code behind" (ASP.NET)
- link c++ with javascript/html (C++)
- Dreamweaver templates & html check (HTML and CSS)
- What is server and client side code? (ASP.NET)
- Using Javascript code in ASP.NET (JavaScript / DHTML / AJAX)
Other Threads in the DaniWeb Community Feedback Forum
- Previous Thread: Cursor is disappearing
- Next Thread: Advanced Search
Views: 2553 | Replies: 18
| Thread Tools | Search this Thread |
Tag cloud for DaniWeb Community Feedback
abuse beginners big-problem bookmark bored box bug bugs calamity code codebox codesnippets code_snippet complaining daniweb database design digest downvote editcodesnippet end-of-the-world feedback flamewar git glitch haunted kids layout login lulz mail-server memory miserable negative netbeans newfeature oracle pm poll post preview privatemessaging problem profile quality quick rash-bot rashakil-fol reply reputation reputation-power sandwich score search slow snippet so-what soa solvedthreads spam sub-forum subscription suggestion tagcloud tagging tags thread threadtagging timesync today's-posts topic unansweredposts upvote voting whining who-cares yada-yada






