Announcement

Collapse
No announcement yet.

Carriage return issue with code/quote-ed text?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Carriage return issue with code/quote-ed text?

    I noticed this a while ago and since my last forum complaint generated so much good will ( <--- for Snowhog) I though I'd go ahead and post another.

    When using the CODE or QUOTE tags from the toolbar, I see a stripping of the first carriage return. Examples:

    Code:
    stuart@office:~$ ll Pictures/1*-rw-r--r-- 1 stuart stuart 1253511 Aug 10  2013 Pictures/100_0635.JPG
    -rw-r--r-- 1 stuart stuart 1552833 Aug 10  2013 Pictures/100_0683.JPG
    -rw-rwx--- 1 stuart stuart  125507 Jun 14  2012 Pictures/121145-1.png*
    -rw-rwx--- 1 stuart stuart  299164 Jun 14  2012 Pictures/121145-2.png*
    -rw-rwx--- 1 stuart stuart  248712 Jun 14  2012 Pictures/121145-3.png*
    Un-tagged paste

    stuart@office:~$ ll Pictures/1*
    -rw-r--r-- 1 stuart stuart 1253511 Aug 10 2013 Pictures/100_0635.JPG
    -rw-r--r-- 1 stuart stuart 1552833 Aug 10 2013 Pictures/100_0683.JPG
    -rw-rwx--- 1 stuart stuart 125507 Jun 14 2012 Pictures/121145-1.png*
    -rw-rwx--- 1 stuart stuart 299164 Jun 14 2012 Pictures/121145-2.png*
    -rw-rwx--- 1 stuart stuart 248712 Jun 14 2012 Pictures/121145-3.png*


    One interesting thing is hen you initially add it to you post - it looks correct. AFTER you hit Submit, the initial carriage return is removed and seems to be added to the bottom of the tag block, like so:

    Before Submit (tags changed to allow them to show) :

    [ CODE[stuart@office:~$ ll Pictures/1*
    -rw-r--r-- 1 stuart stuart 1253511 Aug 10 2013 Pictures/100_0635.JPG
    -rw-r--r-- 1 stuart stuart 1552833 Aug 10 2013 Pictures/100_0683.JPG
    -rw-rwx--- 1 stuart stuart 125507 Jun 14 2012 Pictures/121145-1.png*
    -rw-rwx--- 1 stuart stuart 299164 Jun 14 2012 Pictures/121145-2.png*
    -rw-rwx--- 1 stuart stuart 248712 Jun 14 2012 Pictures/121145-3.png*[ /CODE[


    After Submit:

    [ CODE[stuart@office:~$ ll Pictures/1*-rw-r--r-- 1 stuart stuart 1253511 Aug 10 2013 Pictures/100_0635.JPG
    -rw-r--r-- 1 stuart stuart 1552833 Aug 10 2013 Pictures/100_0683.JPG
    -rw-rwx--- 1 stuart stuart 125507 Jun 14 2012 Pictures/121145-1.png*
    -rw-rwx--- 1 stuart stuart 299164 Jun 14 2012 Pictures/121145-2.png*
    -rw-rwx--- 1 stuart stuart 248712 Jun 14 2012 Pictures/121145-3.png*



    [ /CODE[
    Last edited by oshunluvr; Sep 27, 2014, 07:31 AM.

    Please Read Me
Working...
X