Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Quote Formatting Messed Up

  1. Oct 29, 2014 #1

    A.T.

    User Avatar
    Science Advisor
    Gold Member

    I sometimes notice that quoted text has inconsistent font size. When you look at the BB-code it's full of redundant SIZE and I (italic) tags. Recently one of those format tags wasn't even closed properly, which broke the QUOTE itself tag, splitting the quote in two.

    Has anyone noticed this? I saw it in Chrome so far.
     
  2. jcsd
  3. Oct 29, 2014 #2

    Borek

    User Avatar

    Staff: Mentor

    Can you point to the thread you have seen it? Could be the original post was already (mis)formatted.

    Things people do to format their posts... keep me amused.
     
  4. Oct 30, 2014 #3

    A.T.

    User Avatar
    Science Advisor
    Gold Member

    I think it happens when you have mismatched QUOTE-tags in the rich text editor and press PREVIEW. Try it on any post:
    - Quote it
    - In the rich text editor duplicate just the opening QUOTE-tag and place it
    somewhere in the middle of the quoted text
    - Press PREVIEW
    - Now delete the duplicate opening QUOTE-tag, or add a closing QUOTE tag
    before it (as if to split the quote in two)
    - Press PREVIEW


    What I sometimes observe is: The post is messed up even if you correct the QUOTE-tags. The QUOTE-tags (unlike the format tags) show up in the rich text editor. Which is good, because it allows to manually split a quote into parts. But if you make a mistake there, mess happens which is hard to undo.
     
  5. Nov 2, 2014 #4

    A.T.

    User Avatar
    Science Advisor
    Gold Member

    Here is an example:
    https://www.physicsforums.com/threads/galilean-relativity-kinetic-energy.779463/#post-4900066

    Note the variable font size in the quoted text. The original post has consistent font size, but might have some redundant SIZE=4-tags, which have no visible effect (in the rich-text editor and the final post), because it's also the default font size. But when the text gets quoted, the font size is reduced, except within the tags. Such redundant SIZE are easily created unwittingly, when instead of using the QUOTE function you just copy & paste text from the a post (which is often quicker) .

    Possible solutions:
    - Disable the size reduction for quotes
    - Clean up the redundant SIZE tags in quoted text.
    - Clean up the redundant SIZE tags when pasting text into the rich-text editor


     
  6. Nov 2, 2014 #5

    Borek

    User Avatar

    Staff: Mentor

    Unfortunately it is GIGO - garbage in, garbage out. People format their posts in a random way for no apparent reasons, then something fails. It was a problem already when we had only UBBC editor, now RTF adds new ways of of misusing formatting. No idea how easy it is to modify quoted text @Greg Bernhardt
     
  7. Nov 7, 2014 #6

    A.T.

    User Avatar
    Science Advisor
    Gold Member

    It's not deliberate misusing. Copy & pasting text around is a standard action that people are used to. The problem is that in the RT editor you don't see those tags, but they mess up the effect of tags put around the whole thing, by the software later.

    Disabling the size reduction in quotes seems like the simplest
    solution. IMHO it's a bad idea anyway: When you set your browser to a certain font size that you are comfortable with, it's annoying when quoted text is smaller and harder to read.
     
  8. Nov 7, 2014 #7

    Borek

    User Avatar

    Staff: Mentor

    I don't mean deliberate - in many cases it is an effect of people not knowing what they do and not understanding principles behind.

    There was a time I worked preparing books and brochures for publication, typically from the text supplied as Microsoft Word/Office documents. Things people do to keep the text formatted more or less as they want it are incredible. Since then nothing surprises me.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Quote Formatting Messed Up
  1. Forum pages messed up (Replies: 9)

Loading...