test content
What is the Arc Client?
Install Arc

BBCode [Code] tags add semicolons

We noticed it a week or two ago but I thought it may be worth making an official bug report to see if you can poke the guys at Vanilla and get them to take a look because it's quite annoying.
<img src="http://website.com/someImage.jpg">

As an example of what I mean, I did not add the semicolon at the end of that, it gets added when I make or preview the post. Code boxes aren't supposed to do that.
<center>Ciaran%20Sig.jpg
Join date is wrong, I've actually been around since STO Beta.
True alters don't have a "main". Account wide unlocks for all unique event rewards!!
Check my GitHub for details on STO forum themes: https://github.com/khamseen/PWEVan
Get the Forums Enhancement Extension!</center>

Comments

  • sylenthundersylenthunder Posts: 256 Community Moderator
    That looks like html, not BBCode, or are you replacing the brackets [] with <>?
  • khamseenairkhamseenair Posts: 345 Arc User
    edited July 2015
    That looks like html, not BBCode, or are you replacing the brackets [] with <>?

    I'm not talking about what I posted in the code tags, I posted that as an example of what's happening. I'm talking about the fact that things posted inside BBC [ code ] tags (like that) are getting semicolons added to them when you make the post.

    Another example can be seen here where it has added two semicolons which shouldn't exist and then because it placed them before ) it's turned them into emojis.
    <center>Ciaran%20Sig.jpg
    Join date is wrong, I've actually been around since STO Beta.
    True alters don't have a "main". Account wide unlocks for all unique event rewards!!
    Check my GitHub for details on STO forum themes: https://github.com/khamseen/PWEVan
    Get the Forums Enhancement Extension!</center>
  • sylenthundersylenthunder Posts: 256 Community Moderator
    Can you post an example of what exactly you post inside the CODE tags so we can see it, and then post it outside the tags so we can see what's happening? I haven't seen this yet, but I used a VIDEO tag yesterday and it shows the first tag before the video, even though it's not duplicating it, so I have seen some weird stuff.
  • khamseenairkhamseenair Posts: 345 Arc User
    This is what I'm putting inside the tag.

    <img src="http://website.com/someImage.jpg"&gt;

    This is what it looks like once I put it in the tag
    <img src="http://website.com/someImage.jpg">
    

    See how it's added a semicolon to the end there? It shouldn't do that.
    <center>Ciaran%20Sig.jpg
    Join date is wrong, I've actually been around since STO Beta.
    True alters don't have a "main". Account wide unlocks for all unique event rewards!!
    Check my GitHub for details on STO forum themes: https://github.com/khamseen/PWEVan
    Get the Forums Enhancement Extension!</center>
  • sylenthundersylenthunder Posts: 256 Community Moderator
    Ok, that isn't a BBCode tag you're using though, it's a html frame. bbcode would be as follows...
    [img]http://website.com/someImage.jpg[/img]
    

    The use of html is somewhat suppressed in the editor, and you should avoid it until they get around to fully resolving the issues in the editor that we pointed out to them.
  • khamseenairkhamseenair Posts: 345 Arc User
    Ok, that isn't a BBCode tag you're using though, it's a html frame. bbcode would be as follows...
    [img]http://website.com/someImage.jpg[/img]
    

    The use of html is somewhat suppressed in the editor, and you should avoid it until they get around to fully resolving the issues in the editor that we pointed out to them.

    You're getting confused here. I am using BBCode [ code ] tags. You can see it when you quote my post. What I've posted inside those code tags is not BBCode, but they are inside BBCode [ code ] tags and that's what I'm talking about. I used that as an example of what's happening with certain code inside these tags. Things inside a [ code ] tag should not be formatted or have any text added, it's the whole purpose of the tag. The fact it's adding things is a bug.

    I've found the plugin they are using for BBCode parsing though and sent the author a message to see if he can take a look at it and fix it.
    <center>Ciaran%20Sig.jpg
    Join date is wrong, I've actually been around since STO Beta.
    True alters don't have a "main". Account wide unlocks for all unique event rewards!!
    Check my GitHub for details on STO forum themes: https://github.com/khamseen/PWEVan
    Get the Forums Enhancement Extension!</center>
  • sylenthundersylenthunder Posts: 256 Community Moderator
    Ahh I see. Sorry for the confusion there. Yeah, the vanilla forums still need a lot of work to get rid of bugs.
  • khamseenairkhamseenair Posts: 345 Arc User
    Don't worry about it man. Yeah there's definitely a lot of bugs still roaming around, just figured I'd make an official report about this issue so they are definitely aware of it. :)
    <center>Ciaran%20Sig.jpg
    Join date is wrong, I've actually been around since STO Beta.
    True alters don't have a "main". Account wide unlocks for all unique event rewards!!
    Check my GitHub for details on STO forum themes: https://github.com/khamseen/PWEVan
    Get the Forums Enhancement Extension!</center>
  • frtoasterfrtoaster Posts: 2,566 Arc User
    edited July 2015
    There are a couple of more problems:

    1. I'm sure people have noticed the stupid smiley faces in the middle of code.
    str1 = " :)  :D  :(  ;) ";
    str2 = " :/  :o  :s  :p ";
    str3 = " :'(  :|  B)  :# ";
    str4 = " :*  <3  o:)  >:) ";
    

    2. I'm also not sure URLs should be rendered as links, especially if you are going to add trailing quotes to the link as in the example below.
    url = "http://perfectworld.vanillaforums.com";
    

    3. And of course, white text on a yellow background is unreadable.
  • khamseenairkhamseenair Posts: 345 Arc User
    frtoaster wrote: »
    There are a couple of more issues:

    1. I'm sure people have noticed the stupid smiley faces in the middle of code.
    str1 = " :)  :D  :(  ;) ";
    str2 = " :/  :o  :s  :p ";
    str3 = " :'(  :|  B)  :# ";
    str4 = " :*  <3  o:)  >:) ";
    

    2. I'm also not sure URLs should be rendered as links, especially if you are going to add trailing quotes to the link as in the example below.
    url = "http://example.com";
    

    3. And of course, white text on a yellow background is unreadable.

    Indeed. Smileys shouldn't be rendered in code boxes either. Nrglg ran a few tests earlier in the testing thread and it appears links preceding http or https are the ones affected by this random addition of the semicolons.

    For the colour, I've gotten over that as I'm using custom CSS and it was one of the first things to be changed. The default for that does need changed though for people not using custom CSS.
    <center>Ciaran%20Sig.jpg
    Join date is wrong, I've actually been around since STO Beta.
    True alters don't have a "main". Account wide unlocks for all unique event rewards!!
    Check my GitHub for details on STO forum themes: https://github.com/khamseen/PWEVan
    Get the Forums Enhancement Extension!</center>
  • frtoasterfrtoaster Posts: 2,566 Arc User
    Indeed. Smileys shouldn't be rendered in code boxes either. Nrglg ran a few tests earlier in the testing thread and it appears links preceding http or https are the ones affected by this random addition of the semicolons.

    I'm not talking about semicolons though. I'm talking about the fact that they render URLs as links, and if the URL is surrounded by quotes, they add the trailing quote to the link.
    url1 = "http://perfectworld.vanillaforums.com";
    url2 = 'http://perfectworld.vanillaforums.com';
    

  • khamseenairkhamseenair Posts: 345 Arc User
    frtoaster wrote: »
    Indeed. Smileys shouldn't be rendered in code boxes either. Nrglg ran a few tests earlier in the testing thread and it appears links preceding http or https are the ones affected by this random addition of the semicolons.

    I'm not talking about semicolons though. I'm talking about the fact that they render URLs as links, and if the URL is surrounded by quotes, they add the trailing quote to the link.
    url1 = "http://perfectworld.vanillaforums.com";
    url2 = 'http://perfectworld.vanillaforums.com';
    

    Ah yeah sorry, it shouldn't be doing that either.
    <center>Ciaran%20Sig.jpg
    Join date is wrong, I've actually been around since STO Beta.
    True alters don't have a "main". Account wide unlocks for all unique event rewards!!
    Check my GitHub for details on STO forum themes: https://github.com/khamseen/PWEVan
    Get the Forums Enhancement Extension!</center>
Sign In or Register to comment.