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

Need a way to control whether html_to_text lists all links in the HTML

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.0.1
    • Libraries
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

    Description

      The html2text library we use has a $dolinks parameter to control whether it adds a list of URLs at the end of the plain-text output. However, the Moodle wrapper function html_to_text does not let you set that option. I am going to add an optional argument so you can control this.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              timhunt Tim Hunt
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                25/Dec/10