WordPress.org

Ready to get started?Download WordPress

Forums

Image Metadata Cruncher
html stripped in caption (4 posts)

  1. Dan
    Member
    Posted 1 year ago #

    I add links to my caption.

    With the tag text highlighter disabled, I can write html but it's stripped when an image is uploaded. With the tag text highligher enabled I can't even write html.

    Is there syntax to stop html from being stripped?

    http://wordpress.org/extend/plugins/image-metadata-cruncher/

  2. Dan
    Member
    Posted 1 year ago #

    With the tag text highlighter disabled in the admin panel and lines 923,924 of image-metadata-cruncher.php commented out, html tags aren't stripped.

    923.... //$key = sanitize_text_field($key);
    924....  //$value = sanitize_text_field($value);
  3. peterhudec
    Member
    Plugin Author

    Posted 1 year ago #

    This is a security measure.
    I had to put it there to meet the requirements of the WordPress.com VIP.

  4. BirgerKlaus
    Member
    Posted 7 months ago #

    I post to these Issue, because I want to include a line break <BR /> in the description and or caption field. But also with disabled text highlighter and commented aut the lines 923 and 924 I get no success.

    My Descriptions Setting is:
    {IPTC:Caption-Abstract @"$ <BR />"} {EXIF:Make @"Aufgenommen mit: $"} {EXIF:Model @"$, " % "Keine weiteren Fotoinfos vorhanden - "} { EXIF:LensModel@ " $" % "" }{EXIF:FocalLengthIn35mmFilm @" ($mm bei KB) " } {EXIF:COMPUTED>ApertureFNumber @"<BR />Belichtung: $ - "}{EXIF:ExposureTime@"$ sec - "} {EXIF:ISOSpeedRatings@"$ ISO"}<BR />{EXIF:Copyright @" $"}

    Were are my mistakes?
    My WP-Version= 3.8 and Image Metadata Cruncher is 1.8

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic