• @GoosLife@lemmy.world
      link
      fedilink
      89 months ago

      Not their fault, it’s Lemmys pretty agressive code injection protection.

      There were multiple attempts to let users put less than signs, but unfortunately each was found to be exploitable, so for now you just straight up cannot put a less than sign. There are also certain other things you can’t type, even inside code rendering blocks. For example, you can’t do C++ style include-statements. That’s what I was trying to do when I learned all this.

      • callyral [he/they]
        link
        English
        2
        edit-2
        9 months ago

        edit: so i put a made up html tag here and it dissapeared

        not sure if it’s my lemmy app

        <p>test 2, this is a paragraph tag</p>

      • @Emerald@lemmy.world
        link
        fedilink
        2
        edit-2
        9 months ago

        I tried to do inline CSS one time and it was stripped out.

        edit: huh now it’s not

        style=“font-size:36px;”

        <p>test</p>