Ask Your Question

Bug: The Preformatted Button Isn't Inserting pre tags

asked 2010-10-17 20:30:34 -0600

ccanonc gravatar image

updated 2010-11-10 11:57:34 -0600

Evgeny gravatar image

For my last post the pre-formatted text button didn't work, but when I typed in <pre>MY TEXT HERE</pre> it worked just fine. It would be nice if the horizontal scroll bar didn't appear as I pasted from a standard-sized terminal.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2010-10-18 19:32:11 -0600

Evgeny gravatar image

updated 2010-10-18 19:39:39 -0600

sorry, I did not understand this in the beginning. By "did not work" do you mean that you see the unexpected scroll bar?

I think the scroll bar appearance probably depends on the default browser styles. The preformatted text window does appear narrower than the answer area, so maybe that's the reason... Probably it warrants some improvement to the style sheet. Could you identify your browser/OS? I'll try to find a similar computer and check this out.

edit flag offensive delete link more


No need to apologize, thank you for looking at this. They are two separate issues: 1) Insertion Order Of 2nd Image In 2nd Edit. 2) No auto-sizing horizontally. Since I pasted from a standard terminal size, I think it shouldn't need horizontal scrolling when displayed IMHO.
ccanonc gravatar imageccanonc ( 2010-10-18 20:15:49 -0600 )edit
I can't remember which computer I was using at the time, sorry. :(
ccanonc gravatar imageccanonc ( 2010-10-18 20:16:41 -0600 )edit
Right now I have three browsers open, and I can think of two more possibilities. =) Probably Firefox though.
ccanonc gravatar imageccanonc ( 2010-10-18 20:17:55 -0600 )edit
Suggestion: When a link is added, I think the askbot-markup-syntax should keep the link and its display text together. While the separation into footnotes/citations is nice, I think it can lead to confusion during quick edits.
ccanonc gravatar imageccanonc ( 2010-10-19 09:23:47 -0600 )edit
Good idea, I'll put it in the code soon. Actually markdown allows that but the editor uses the insertion format that separates the link and the url.
Evgeny gravatar imageEvgeny ( 2010-10-19 12:39:01 -0600 )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


Asked: 2010-10-17 20:30:34 -0600

Seen: 128 times

Last updated: Nov 10 '10