Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Unclosed html tags in excerpts

#specularcodeless sliderslider
    • 5 years, 3 months ago peterbouwmeester
      Participant

      Expired

      Hi Codeless team,
      In Specular (version 3.2.1) function codeless_text_limit() is used to get an excerpt.
      In codeless_slideshow.php this function is called with get_the_content() as input.

      codeless_text_limit() processes it’s input as if it were a literal string.
      Which is not the case: get_the_content() also returns html tags and what not.

      This results in issues with html tags that are not closed.

      As an example:
      My post starts with italic text that’s longer than the requested excerpt.
      This causes the closing tag to miss and all following page content to be in italic.

      This can be simply solved by adding wp_strip_all_tags() at the top of codeless_text_limit() before starting to process its input.

      Kind regards,
      Peter

    • 5 years, 3 months ago Eldo
      Keymaster

      Hello,

      Thank you very much for your suggestion.

      I will add this fix on the next update.

      Regards!

Viewing 1 reply thread

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password