First time here? Check out the FAQ!
1

Bug: Horizontal Rule in Comment breaks stylesheet [fixed]
 

At least is does at ask.sagemath.org. I'll try to add a comment below with an hr element to show you.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
updated 14 years ago
ccanonc's avatar
363
ccanonc
asked 14 years ago

Comments

Example text above hr element.
Example text below hr element.
ccanonc's avatar ccanonc (14 years ago)
Notice the difference?
ccanonc's avatar ccanonc (14 years ago)
yep I see. The comment uses paragraph element and `hr` inside makes html invalid. Clearly user input needs more cleaning/validation.
Evgeny's avatar Evgeny (14 years ago)
IMHO, I would turn off non-WYSIWYG input; meaning escape and display, or escape and cull.
ccanonc's avatar ccanonc (14 years ago)
What is the filtering done now? I'm surprised I can enter html. Can "offensive" sites cross-post?
ccanonc's avatar ccanonc (14 years ago)
see more comments

1 Answer

1

You fixed it. =) Can I have a bug-finder badge? :^)

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
ccanonc's avatar
363
ccanonc
answered 14 years ago
link

Comments

Hi. sorry I was lazy about the badges. Will enable them this weekend. Thanks again for reporting the issue, I've actually overlooked it until your note.
Evgeny's avatar Evgeny (14 years ago)
Thx. Can you push the fix to the asksage site? The escaping there is still broken. At least I've noticed it is for links....example: underscores still have to be backslashed.
ccanonc's avatar ccanonc (14 years ago)
Unfortunately, I can't. I have contacted William and Mike (they run the server) about this. Cheers.
Evgeny's avatar Evgeny (14 years ago)
No problem. I am new to Sage....so my messages don't have much weight.
ccanonc's avatar ccanonc (14 years ago)
see more comments