Comment on Tutorial: HTML Sanitizing and Parsing

  1. Hi there!

    The img tag should work, but the HTML parser might be eating it if it's improperly formatted or broken. One thing to check is that the quote marks must be straight quotes "" and not curly quotes ("smart" quote marks).

    If that doesn't help and you're still experiencing issues, can you contact us using the Support form with more details? The form's parser will eat any example html, but if you avoid including the < and > symbols, everything else should come through.

    Apologies for the inconvenience in the meantime!

    Best,
    hele
    AO3 Support

    Comment Actions
    1. Thank you for the help! How about a video please?

      Comment Actions
      1. No problem! As with static images, the Archive doesn't have a way to host video. Check out our post about multimedia embedding in the Archive. You can see valid sites and tags there. If you run into any problems, please don't hesitate to contact us using the Support form!

        Best,
        hele
        AO3 Support

        Comment Actions
        1. From what I understood, it would work if I put tje url of the video between iframe and /iframe ?

          Comment Actions
          1. A hammer with the letters "AO3" on top of a keyboard with keys knocked loose.

            Hi again, TheAnderfelsOne:

            You would need the full embed code from the hosting site listed in the iframe: most sites make this easily available in a Share button or similar. The video does have to be hosted at one of the "whitelisted" (permitted) sites listed at the multimedia post; if it's not, the HTML sanitizer will strip out the code. If you have any questions about a specific site, please contact Support!

            Best,
            Sam J.
            AO3 Support

            Comment Actions
            1. Oh I just think about youtube. So I guess it shouldn't be a problem then? just put the url between the html code iframe then.

              Comment Actions
              1. A hammer with the letters "AO3" on top of a keyboard with keys knocked loose.

                Hi again:

                For YouTube, you'll want to browse to the video's page, click on the Share button, click on Embed, and copy everything in the box that appears, not just the URL. If you have any questions, let us know!

                Best,
                Sam J.
                AO3 Support

                Comment Actions