Odd Quoting Behaviour: One Tag, Two Blocks

  • Thread starter Thread starter Ibix
  • Start date Start date
  • Tags Tags
    bug font quote
AI Thread Summary
The discussion highlights an issue with quoting behavior in a forum where a single QUOTE tag can inadvertently generate two quote blocks due to formatting conflicts, particularly with bold text. Users noted that improper nesting of tags can lead to unexpected results, such as the forum software attempting to correct these errors by adding additional tags, which can disrupt formatting. Suggestions were made to improve tag management, such as preferring inline text tags over paragraph tags to avoid complications. Participants also discussed the advantages of using the normal BB code editor to troubleshoot formatting issues more effectively. Overall, the conversation emphasizes the importance of proper tag usage to maintain desired formatting in forum posts.
Ibix
Science Advisor
Insights Author
Messages
13,309
Reaction score
15,747
While quoting a post earlier I came across the following interesting behaviour. I pasted a QUOTE tag into a place where the person I was quoting had used large bold text, and accidentally made the QUOTE tag large bold text. This seems to have cause the behaviour below - there is only one QUOTE tag, but it generates two quote blocks. Pasting the QUOTE tag on the previous line (so it was in normal text) then deleting until the "or" was on the same line fixed the behaviour.

Stephanus said:
or
Stephanus said:
-------------------------------------------------
For instance, I stay put for 8 years (0,0,0,0) to (8,0,0,0,0)
 
Physics news on Phys.org
I just went to edit the above and see that there are two QUOTE tags in the editor view - which explains the two blocks. But I only put one into my original post - something in PF added a /QUOTE and a QUOTE.
 
Responding to my own thread again, sorry. I guess what's happening is the software fixing badly nested tags - I produced something like

B QUOTE /B /QUOTE

and the forum software has fixed it by adding a /QUOTE and a QUOTE around the /B. That fixes the nesting, but breaks the formatting...
 
The forum tries to organize tags in a proper hierarchy. Leaving unpaired tags (and <A><B></A></B> is not properly paired) can result in a fix with that attempt, but sometimes it leads to unexpected results.
 
I've always wondered why, in some posts, quoted text appears bigger than normally would. This thread sheds light on why that is the case.
 
mfb said:
The forum tries to organize tags in a proper hierarchy. Leaving unpaired tags (and <A><B></A></B> is not properly paired) can result in a fix with that attempt, but sometimes it leads to unexpected results.
I guess I was just wondering if there's a better way to fix it - in my example (B QUOTE /B /QUOTE) the forum apparently decided to make it B QUOTE /QUOTE /B QUOTE /QUOTE - but B /B QUOTE B /B /QUOTE would also have fixed it and would have been invisible. Maybe there's some way to say "don't add a quote tag if at all possible"? Or, perhaps more generally, "add inline text tags in preference to paragraph tags"?
 
In EDIT the strike through and underline tags simply will not turn off. Really aggravating.

eg qwerttyyyy

i tried my best to turn it off after "yyy" but it strikes through anything i type afterward.
 
Remove the [[/size]s] and [[/size]/s] in the following line?
 
  • #10
following line? as mentor do you see something i don't ?

here' a snip of what i see (you folks taught me that trick)

oddquote.JPG
 
  • #11
Oh, the "rich text editor". I suggest to use the normal one (https://www.physicsforums.com/account/preferences), then you see the codes that are responsible for that.
 
  • Like
Likes jim hardy
  • #12
mfb said:
Oh, the "rich text editor". I suggest to use the normal one (https://www.physicsforums.com/account/preferences), then you see the codes that are responsible for that.

Wow !

Thank Heaven ! Can you guys teach Microsoft that trick ?
 
  • Like
Likes Silicon Waffle
  • #13
That normal editor is sans the handy buttons at top for bold, image, symbols, and doesn't offer quote.
And what i type shows up blue.
Yukk.


I went back to rich text.
 
  • Like
Likes Silicon Waffle
  • #14
mfb said:
Oh, the "rich text editor". I suggest to use the normal one (https://www.physicsforums.com/account/preferences), then you see the codes that are responsible for that.
Never mind the preferences, you can quickly switch back and forth between the two editors:
  • In the rich text editor, there's an icon at the far right of the toolbar to go to the BB code editor
  • In the BB code editor, there's a blue link under the bottom left of the editor area to go to the rich text editor
I use the rich text editor by default, but if a problem arises I temporarily switch to the BB code editor to see if I can fix the problem from there,
 
  • #15
testing editors

one ping

one ping <<< copied and pasted in BBcode editor

successfully switched backlanguages are learned while we are young.

thanks for the new trick, Doc !
 
  • Like
Likes Silicon Waffle
  • #16
DrGreg said:
Never mind the preferences, you can quickly switch back and forth between the two editors:
  • In the rich text editor, there's an icon at the far right of the toolbar to go to the BB code editor
  • In the BB code editor, there's a blue link under the bottom left of the editor area to go to the rich text editor
Thanks for the new trick, Doc. Tried it , worked first time.
 

Similar threads

Replies
4
Views
4K
Replies
115
Views
15K
Replies
0
Views
22K
Replies
0
Views
17K
Replies
1
Views
25K
Replies
0
Views
21K
Back
Top