Changes between Initial Version and Version 1 of Ticket #853


Ignore:
Timestamp:
Oct 30, 2006, 4:11:03 PM (17 years ago)
Author:
Noah Kantrowitz
Comment:

Fixing formatting

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #853 – Description

    initial v1  
    11PDF conversion was missing images because my web server running Trac is not on a standard port.  When I changed the line that is supposed to correct the image links from:
    2 
     2{{{
    33 page = re.sub('<img src="(?!\w+://', '<img src="%s://%s' % (req.scheme, req.server_name), page)
    4 
     4}}}
    55to:
    6 
     6{{{
    77 page = re.sub('<img src="(?!\w+://', '<img src="%s://%s:%d' % (req.scheme, req.server_name, req.server_port), page)
    8 
     8}}}
    99Then it now works ok for me.
    1010