Ask Your Question
1

Bug: Horizontal Rule in Comment breaks stylesheet [fixed]

asked 2010-09-18 12:44:21 -0500

ccanonc gravatar image

updated 2010-09-23 13:25:51 -0500

Evgeny gravatar image

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

edit retag flag offensive close merge delete

Comments

Example text above hr element.
Example text below hr element.
ccanonc gravatar image ccanonc  ( 2010-09-18 12:44:48 -0500 )edit
Notice the difference?
ccanonc gravatar image 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 gravatar image 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 gravatar image 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 gravatar image ccanonc  ( 2010-09-20 13:40:47 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2010-09-24 01:43:32 -0500

ccanonc gravatar image

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

edit flag offensive delete link more

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 gravatar image 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 gravatar image 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 gravatar image 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 gravatar image ccanonc  ( 2010-09-25 15:31:46 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2010-09-18 12:44:21 -0500

Seen: 275 times

Last updated: Sep 24 '10