soundasleep / iaml

Automatically exported from code.google.com/p/iaml
3 stars 1 forks source link

html2text: Reduce duplicate URLs within links #288

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From Claudio Thomas:

A small suggestion:
Line 195 change from
    if ($href == $output) {
to:
    if ($href == $output or $href == "mailto:$output" or $href == "http://$output")

Typically the URLs with the mentioned prefixes are self explained, so that you 
see the same text twice in the text.

Original issue reported on code.google.com by soundasleep on 17 Sep 2013 at 12:14

GoogleCodeExporter commented 9 years ago
Moved to https://github.com/soundasleep/html2text/issues/1

Original comment by soundasleep on 16 May 2014 at 2:35