Parse 'line breaks' properly so that text display on WA matches text editors and other web spaces. | World Anvil

Remove these ads. Join the Worldbuilders Guild

Parse 'line breaks' properly so that text display on WA matches text editors and other web spaces.

Feature Upgrade · Editor: euclid · Created by Aramec
declined
bugfix -standardization

What functionality is missing? What is unsatisfying with the current situation?

  Currently, World Anvil does not properly display CRLF characters in article display text. Rather than begin text on a new line if a CRLF is parsed, it ignores the CRLF unless it's followed by a CRLF. This is extra perplexing because the WYSIWYG editor's editing panel properly interprets single CRLFs. To my knowledge, this is the only web space or text display system that ignores single CRLFs.   As a result, text which is properly formatted in virtually every other text display system (program or webspace) isn't properly displayed in World Anvil, leading to the need to add BBCode line breaks in WA to text that already contains line breaks.  

How does this feature request address the current situation?

  By properly interpreting a fundamental unicode character universally understood to create a new line, this feature would preventing the need to constantly modify text for it to be displayed properly on this website if it contains single linebreaks.  

What are other uses for this feature request?

Follow up



Some people seem to be worried that this would break 'millions of existing articles'. There's no reason for that to happen and multiple ways to prevent that from happening while still fixing this standardization issue.
How many of the 6490 people that visited the post were WA users with coins to spend?  

The Team's Response

Hello there!   I am not sure where this is coming from because Markdown also disrespects empty lines and requires a double space for the creation of a break-line so the "modern" point is rather moot.   Yes that would break a lot of articles and yes there can be ways to mitigate it but this implies addition of complexity to mitigate an issue that hasn't been an issue for 5 years, the fact that from the several thousands (6490) that visited this post only 19 voted and 15 of them was positive leads me to believe that in the community at large this is not an issue.
Current score

19/300 Votes · +2630 points

Votes Cast

  • +100

    by bleakraven
    on 2022-04-05 08:02
  • +200

    by kingyak
    on 2022-04-03 03:19
  • +300

    by Carshand
    on 2022-04-02 05:25
  • +10

    by Anthraxus
    on 2022-04-01 12:34
  • +100

    by magnarex_
    on 2022-03-29 10:57
  • +300

    by Rahjar
    on 2022-03-28 00:37
    I'm sure part of the confusion is that it reads CR/LF and interprets a pair of them as

    but does not DISPLAY

    bbcode.. if it woud display/save paragraph marks I imagine it'd help

  • +300

    by GaracaiusMendalus
    on 2022-03-24 18:10
  • +300

    by NorEtoc
    on 2022-03-24 02:15
  • +100

    by thoobiey
    on 2022-03-22 14:05
  • +50

    by TheComplimentNinja
    on 2022-03-21 17:24
  • +300

    by SmithTS86
    on 2022-03-21 12:09
  • +300

    by Ian4040
    on 2022-03-20 22:33
  • +100

    by The Bronze Manticore
    on 2022-03-20 19:40
  • -300

    by Hanhula
    on 2022-03-20 08:36
    I have no idea how you'd do this without breaking everything. I think this: https://discord.com/channels/348060277989965844/378865780768374784/453069144225480704 was when this was added, because removing Markdown caused issues..
  • +300

    by CptDzastr
    on 2022-03-19 14:37
    This would really help me - I keep assuming breaks because I put in breaks, and then having to go back and double-break to get a break in the output.
  • +200

    by Moondare
    on 2022-03-19 09:30
  • -20

    by A Revolutionary Devil
    on 2022-03-19 01:39
  • -10

    by Michael Chandra
    on 2022-03-18 23:13
    I prefer it this way: I can use single newlines for visual purposes, and use [ br] for
    when I really want a single enter.
  • -300

    by A Fluffy Ooze
    on 2022-03-18 20:10
    Absolutely not - that will cause havoc on literally million of articles.
  • +300

    by Aramec
    on 2022-03-18 16:11