Title: Include
Last modified: August 22, 2016

---

# Include

 *  Resolved [ovann86](https://wordpress.org/support/users/ovann86/)
 * (@ovann86)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/include-3-2/)
 * Hi,
 * I’m developing a plugin for Gravity Forms that converts URL’s entered into the
   the ‘list field’ to clickable links in the back end.
 * I’m doing this by storing the values in the database as an HTML link.
 * For example, if the user enters [http://www.google.com](http://www.google.com)
 * The plugin will store the value in the database as:
 * `<a href="www.google.com">www.google.com</a>`
 * I need to display the link as a clickable link in the PDF created by this plugin.
   However I found that pdf-entry-detail.php at line 2002 escapes the HTML before
   it’s put in the PDF.
 * I agree that the HTML needs to be escaped to stop users breaking the PDF by entering
   in table tags like </td> or </table> – but I would like to ask if you could consider
   changing this to allow links.
 * The change would be – pdf-entry-detail.php – line 2002
 * FROM
 * `$list .= '<td>'.htmlspecialchars($val).'</td>';`
 * TO
 * `$list .= '<td>'.strip_tags($val,'<a>').'</td>';`
 * Please let me know if this is a possibility, otherwise I will need to consider
   my options (other ways of creating PDF’s, customising the plugin after each update/
   providing instructions on how to modify the plugin).
 * Thanks,
 * [https://wordpress.org/plugins/gravity-forms-pdf-extended/](https://wordpress.org/plugins/gravity-forms-pdf-extended/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Jake Jackson](https://wordpress.org/support/users/blue-liquid-designs/)
 * (@blue-liquid-designs)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/include-3-2/#post-5821843)
 * Please post development feedback [to our GitHub page](https://github.com/blueliquiddesigns/gravity-forms-pdf-extended/issues).
   It makes it easier to keep track of any issues that may need to be addressed.
 *  Thread Starter [ovann86](https://wordpress.org/support/users/ovann86/)
 * (@ovann86)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/include-3-2/#post-5821903)
 * Resolved by using the `gform_entry_field_value` filter to display the field as
   a clickable link.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Include’ is closed to new replies.

 * ![](https://ps.w.org/gravity-forms-pdf-extended/assets/icon-256x256.png?rev=3168987)
 * [Gravity PDF](https://wordpress.org/plugins/gravity-forms-pdf-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-pdf-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-pdf-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-pdf-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-pdf-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-pdf-extended/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ovann86](https://wordpress.org/support/users/ovann86/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/include-3-2/#post-5821903)
 * Status: resolved