Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-58186

The mustache helper to shorten text should keep comments intact.

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.3
    • None
    • JavaScript
    • MOODLE_33_STABLE

    Description

      At the moment if there are html comments in the text they have the potential to be removed. In Moodle sometimes we want to keep the comments to do things such as:

      <div class='frog'><p><blockquote><!--[if !IE]><!-->Long text with tags that will<!--<![endif]--> be chopped off but <b>should be added back again</b></blockquote></p></div>
      

      See MDL-51483 for how these sorts of comments are used.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abgreeve Adrian Greeve
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: