Ask Your Question
1

Bug: Horizontal Rule in Comment breaks stylesheet [fixed]

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

ccanonc gravatar image ccanonc
343 3 4 11

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

Evgeny gravatar image Evgeny flag of Chile
11329 50 84 183
http://askbot.org/

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

delete close flag offensive retag edit

Comments

Example text above hr element.
Example text below hr element. ccanonc ( 2010-09-18 12:44:48 -0500 )edit
Notice the difference? 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 ( 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 ( 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 ( 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 ccanonc
343 3 4 11

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

link publish delete flag offensive edit

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 ( 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 ( 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 ( 2010-09-25 15:14:53 -0500 )edit
No problem. I am new to Sage....so my messages don't have much weight. ccanonc ( 2010-09-25 15:31:46 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow
1 follower

subscribe to rss feed

Stats

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

Seen: 63 times

Last updated: Sep 24 '10