≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Feature request #1427

Feature request #1427: Accept <br />

Kind feature request
Product wikitext
When Created 10/27/2009, updated 8/24/2011
Status open
Reporter anonymous
Tags no tags

Description

Hi,

the mediawiki syntax allows to use <br>, <br/> and <br /> for new line. You can see an example on the third block of http://en.wikipedia.org/wiki/Help:Wikitext_examples. I think it can be useful to also have it in wikitext.

Comments

  1. Greg Hurrell 10/27/2009

    Yes, you're probably right, there are likely use cases for this, although right now I can't think of what I might use this for. Have you got any actual use-case examples of where this would be useful to you?

  2. anonymous 10/27/2009

    The typical case is poem, where a line breaks are needed between verses. But my use case is less elegant: I have long lines that I want to break at some given points whitout creating a new paragrah.

    Actually, I've juste browsed the mediawiki help, and it allows some HTML tags to be not escaped. See http://www.mediawiki.org/wiki/Help:Formatting#HTML for the details. Maybe, <br/> can be handled in a more general group of not escaped tags with <code>, <u> or <s>.

  3. Greg Hurrell 11/1/2009

    The <br /> thing seems like a reasonable request. I am thinking of doing a 1.10 release shortly, so this feature request would probably be considered for 1.11.

    On the subject of other unescaped tags, Wikitext already does allow some (<em></em> and <strong></strong>, for example). It might be worth adding <u></u> and <s></s>, but I am not sure whether it is a good idea as they are both marked as deprecated in the official HTML spec.

    I also am not sure about <code></code>; it's not deprecated, but for practical intents and purposes it is basically equivalent to <tt></tt> (which is already supported).

    In any case, if you want those other unescaped tags the request should really go in a separate ticket.

  4. anonymous 8/24/2011

    Any news about this?

Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets