• I have a number of entries in my database that link to web pages. They worked fine until a couple of months ago when they all started showing as just text.

    Here is an example of what I have entered that now just shows as text, when it used to just have a hyperlink saying ‘Click to see our detailed review’ …

    <a href="https://www.moviemuse.net/awards-season-review-the-revenant/">Click to see our detailed review.</a>

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author xnau webdesign

    (@xnau)

    Yeah, I’m sorry about that, I had to disallow HTML in text fields, it was a security vulnerability. I intend to give people a way to override that if their text fields don’t contain user input, but that is not in place at the moment.

    The “official” way to show links is to use a “link” type field that has two parts: an URL and a link text. The prevents security issues when displaying user input.

    Thread Starter sirclive

    (@sirclive)

    Ah I see. Thanks for the update. I will await the override update.

    Thread Starter sirclive

    (@sirclive)

    Hi. Can I just ask if this override has been added yet or if you have a rough idea of when it might be?

    Thanks very much.

    Plugin Author xnau webdesign

    (@xnau)

    I forgot to mention that I had included a way to allow this in the last update.

    You will need to use a filter to allow HTML in your text fields. I’ve created a filter plugin you can use for this here:

    https://gist.github.com/xnau/d75adc466ab749be88ac038357d5e4f8

    Thread Starter sirclive

    (@sirclive)

    Wonderful. Worked perfectly.

    Thanks a lot.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘URLs in fields displaying as text and not hyperlinks’ is closed to new replies.