Stories
Slash Boxes
Comments

Dev.SN ♥ developers

posted by martyb on Monday January 19 2015, @10:23PM   Printer-friendly

Just testing to see what happens if I enter a story as "Plain Old Text" without using any HTML at all; this sentence was all entered on a single line up to the period at the end of this sentence.

I left a blank line between the first sentence and this, the second sentence.
This third sentence is on its own line immediately following the second sentence.
                    This fourth sentence is on its own line, too, but was preceded by 10 spaces.

I left two blank lines between the fourth sentence and this, the fifth sentence which ends with a period and a CRLF.

This discussion has been archived. No new comments can be posted.
Display Options Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 2) by martyb on Tuesday January 20 2015, @09:27AM

    by martyb (76) on Tuesday January 20 2015, @09:27AM (#28238) Journal

    Checking out new "user" tag...

    When a user enters the text matching:
       at-sign number-sign [digit]+ colon
    The string of digit(s) is interpreted as being a UID number.
    The matched text is replaced with a link to that user's info page.

    EXAMPLE:
       Given (with intervening spaces removed):
          @# 1 8:
       Should see it translated to:
          <a href="//dev.soylentnews.org/~The+Mighty+Buzzard" class="commentUserLink" rel="nofollow">The Mighty Buzzard</a>

    Let's take a look at the early SN folk:

    @Anonymous Coward:
    NCommander
    robind
    Preston
    ModernGeek
    mcasadevall
    mechanicjay
    Maow
    zford
    hybristic

  • (Score: 2) by martyb on Tuesday January 20 2015, @09:46AM

    by martyb (76) on Tuesday January 20 2015, @09:46AM (#28239) Journal

    New "user" tag entered in ECODE phrase - submitted as "Plain Old Text"

    BUG? I would think that text entered between <ecode> and </ecode> should not get translated.