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

html2text appears to be incompatible with the GPL

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.8, 1.7.6, 1.8.7, 1.9.3
    • Fix Version/s: 1.8.9, 1.9.5
    • Component/s: Libraries
    • Labels:
      None

      Description

      This library was reported in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507947

      The license for html2text is not included in the code, but rather on the website of the author:

      http://www.howtocreate.co.uk/jslibs/termsOfUse.html

      The most problematic bit of html2text's license is the requirement to get written permission to distribute:

      "However, if you want to include the scripts [...] in bundled or distributed scripts/software (such as Opera or Dashboard widgets, or the Formativ Academic Timetable), you should contact me first and obtain my express written permission."

      Then, there is a bit of discrimination for commercial sites through the addition of an "advertising clause":

      "Commercial/profit-making public websites:

      You should put a note saying that the script was provided for free by http://www.howtocreate.co.uk.

      You put a plain text (ie. not script) link to my site on your policy page or other appropriate page, to help me with my search engine rankings."

      The Debian developer who filed the bug suggested that we take a look at replacing this library with the one I have attached here. It's got the same name but is under the GPLv2+.

      Based on a quick 1.9 grep, that file is only used in lib/weblib.php:html_to_text(), which in turn is only used in format_text_email() of the same library file.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    13/May/09