Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
Markdown currently generates links manually without considering Drupal's base_path() which might lead to incorrect links, or headaches if you are moving to/from a subdirectory or a domain. This patch modifies Markdown to use l() which makes sure links will work all the time despite of the hosting environment.
Cheers,
Comment | File | Size | Author |
---|---|---|---|
markdown_correct_links.patch | 1.29 KB | AmrMostafa |
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedmakes sense, but i really don't want to ship with a forked markdown.php. some use regular markdown, others use extra ... if people want this, they should apply this patch.