Forum Stats

  • 3,874,575 Users
  • 2,266,762 Discussions
  • 7,911,901 Comments

Discussions

Dyn removes content under "&lt;" and "&gt;" when HTML code has anchor tags (<a href="...">Hello!</a>

4129781
4129781 Member Posts: 2
edited Jan 14, 2020 4:11PM in Dyn Community

For the below HTML code, Dyn give this as output (Removes the content under "&lt;" and "&gt;" which translates to <foobar>): Testing text. To know more Click here

     HTML code:

<html>

    <body>

     Testing &lt;special&gt; text.

     To know more <a href = “https://www.google.com”> Click here </a>

    </body>

   </html>

If you remove the anchor tag(tag denoted by <a>) tag and give the below HTML, it gives the following output: Testing <special> text. To know more Click here

     HTML code:   

<html>

    <body>

  Testing <special> text.

  To know more Click here

     </body>

  </html>

We observed similar behavior in our application too, which had a lot more HTML code. But, when we removed all the anchor tags, the content under  “&lt;” and “&gt;” started rendering as desired.

Hence, we were wondering if this is a known issue with Dyn and anchor tags ? If so, is there a way to eliminate this problem? Is there anyone we can get in touch with to talk about this issue?

4129781

Answers