Announcement

Collapse
No announcement yet.

Converting HTML Content

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Converting HTML Content

    I am trying to move some of my existing HTML content from a blog into vbCloud as an Article. The conversion from HTML to BBCode is not very elegant. I am having problems getting line breaks <br> to convert properly, especially after images and tables in my HTML.

    I guess I wish there was a true HTML editor instead of the BBCode.

  • #2
    Such a conversion is never going to be 100% elegant. Specifically, what are the line breaks actually doing?
    MARK.B | vBULLETIN SUPPORT

    TalkNewsUK - My vBulletin 5.6.1 Demo
    AdminAmmo - My Cloud Demo

    Comment


    • #3
      Have you tried setting the option "Disable BBCODE" to Yes? What BBCode does is convert the unseen linebreaks to <br> tags. If you have those within your code, it will cause problems. You don't really want to mix HTML and BBCode.
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud demonstration site.
      vBulletin 5 API - Full / Mobile
      Vote for your favorite feature requests and the bugs you want to see fixed.

      Comment


      • #4
        Originally posted by Wayne Luke View Post
        Have you tried setting the option "Disable BBCODE" to Yes? What BBCode does is convert the unseen linebreaks to <br> tags. If you have those within your code, it will cause problems. You don't really want to mix HTML and BBCode.
        I can give that a try, thanks.

        Comment


        • #5
          You can see an example of what I am talking about here.

          I have turned off BBCode for Articles.
          I have tried every combination of Render options
          • I am pasting in HTML code (Advanced Editor/Source)
          • When I un-check Source, it renders correctly
          • When I Preview, it renders correctly
          • But when I Save it, it displays the raw BBCode


          http://www.theglforum.com/articles/1...or-a-road-trip

          Comment


          • #6
            AdminCP > Channel Management > Edit your articles categories, and make sure bbcode is set to yes, instead of no in the actual channel.

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...
            X