]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/auxiliar/postprocess_html.py
postprocess_html.py: Have lily_snippets_re only match snippets. Fixes images.
[lilypond.git] / python / auxiliar / postprocess_html.py
index a8f6c78ae12965268f0dd87fc6c39c7d67c9ed97..c26d7473e2efb8c3274e2299238c0686c571b95d 100644 (file)
@@ -101,7 +101,7 @@ def source_links_replace (m, source_val):
 
 # More hardcoding, yay!
 splitted_docs_re = re.compile ('(Documentation/out-www/(automated-engraving|essay|notation|music-glossary|application|general|learning|snippets))/')
-lily_snippets_re = re.compile ('(href|src)="(../lily-.*?|.*?[.]png)"')
+lily_snippets_re = re.compile ('(href|src)="([0-9a-f]{2}/lily-.*?)"')
 pictures_re = re.compile ('src="(pictures/.*?)"')
 
 docindex_link_re = re.compile (r'href="index.html"')