#56 Broken links in output HTML on Windows

defect
closed-fixed
formatter (18)
5
2014-07-16
2002-02-09
Anonymous
No

On Windows, using Python 2.1, HappyDoc 2.0.1 installed
"out of the box", generates links to subpackages which
include "\" (backslashes), which then do not work in
the browser. Also, package/subdirectory titles mix
forward and backward slashes.

At first I thought it was a problem with the use of
'glob', because that provides local pathnames. But I
think it's actually in the formatter(s), when links and
titles are generated. The formatter needs to convert
OS paths into URL paths. For posix systems, there's
nothing to do because the URL separator is the same as
the path separator. For Windows, Mac, etc., the
separator is different.

Discussion

  • Doug Hellmann

    Doug Hellmann - 2002-02-10

    Logged In: YES
    user_id=34486

    A potential fix has been added to
    happydoclib/formatter/formatter_HTMLFile.py.

     
  • Doug Hellmann

    Doug Hellmann - 2002-02-10
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks