Reply to comment

Yup, that's what I eventually

Yup, that's what I eventually did, however I don't understand why that is not the default behaviour of <code> in Drupal. And why <pre> is not part of the default input format list.

For most purposes that seems to be useful (if <code> is not doing what one should expect).

Same problem when your content is being used in RSS feeds, the <code> blocks are not represented correctly. I guess I have different expectations...

Reply

Please refrain from adding URLs to unrelated or commercial websites. This site is moderated and comments with inappropriate links are rejected. Thank you for your understanding.
The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options