Text is wrapped inside code block

Bug #1209150 reported by Joe Hakim Rahme
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Community Project
Confirmed
Wishlist
Evgeny Fadeev

Bug Description

In ask.openstack, a line of code too long inside a code block will be truncated and spread over several lines. As far as I understand it, the goal of the <pre> block is to have the line quoted verbatim, and so this truncation should not happen.

You can find an example in my answer here: https://ask.openstack.org/en/question/3800/swift-s3-error-no-module-named-s3_token/?answer=3811#post-id-3811

The last line has been truncated. I'd prefer to have a way to scroll horizontally instead (a la StackOverflow/StackExchange).

Revision history for this message
Stefano Maffulli (smaffulli) wrote :

We don't really encourage the use of the <pre> block and suggest to use markdown, as it seems you did in the answer. I don't have a strong opinion on how to represent long lines, as I usually find the horizontal scrolling very annoying. What do others think?

Changed in openstack-community:
assignee: nobody → Evgeny Fadeev (evgeny-fadeev)
importance: Undecided → Wishlist
Tom Fifield (fifieldt)
Changed in openstack-community:
status: New → Incomplete
Revision history for this message
Tom Fifield (fifieldt) wrote :

I think the use of a code block should mean the text is rendered without any wrapping or other modification

Changed in openstack-community:
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.