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.

Evgeny's avatar
13.2k
Evgeny
updated 2010-09-23 13:25:51 -0500
ccanonc's avatar
363
ccanonc
asked 2010-09-18 12:44:21 -0500
edit flag offensive 0 remove flag close merge delete

Comments

Example text above hr element.
Example text below hr element.
ccanonc's avatar ccanonc (2010-09-18 12:44:48 -0500) edit
Notice the difference?
ccanonc's avatar ccanonc (2010-09-18 12:45:08 -0500) edit
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 (2010-09-18 13:38:03 -0500) edit
IMHO, I would turn off non-WYSIWYG input; meaning escape and display, or escape and cull.
ccanonc's avatar ccanonc (2010-09-18 13:49:42 -0500) edit
What is the filtering done now? I'm surprised I can enter html. Can "offensive" sites cross-post?
ccanonc's avatar ccanonc (2010-09-20 13:40:47 -0500) edit
add a comment see more comments

1 Answer

1

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

ccanonc's avatar
363
ccanonc
answered 2010-09-24 01:43:32 -0500
edit flag offensive 0 remove flag delete 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 (2010-09-24 13:47:49 -0500) edit
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 (2010-09-25 13:39:41 -0500) edit
Unfortunately, I can't. I have contacted William and Mike (they run the server) about this. Cheers.
Evgeny's avatar Evgeny (2010-09-25 15:14:53 -0500) edit
No problem. I am new to Sage....so my messages don't have much weight.
ccanonc's avatar ccanonc (2010-09-25 15:31:46 -0500) edit
add a comment see more comments