mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 04:09:45 +00:00
PR33331 - opt-viewer.py produces broken output for directories with spaces
Fix: Properly quote href attributes. Patch by Simon Whittaker! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304919 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
eeb64a67b6
commit
6a60571869
@ -33,7 +33,7 @@ def html_file_name(filename):
|
||||
return filename.replace('/', '_') + ".html"
|
||||
|
||||
def make_link(File, Line):
|
||||
return "{}#L{}".format(html_file_name(File), Line)
|
||||
return "\"{}#L{}\"".format(html_file_name(File), Line)
|
||||
|
||||
|
||||
class Remark(yaml.YAMLObject):
|
||||
|
Loading…
Reference in New Issue
Block a user