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

The mustache helper to shorten text should keep comments intact.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 3.3
    • JavaScript
    • MOODLE_33_STABLE

      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.

            Unassigned Unassigned
            abgreeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.