]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/book_html.py
Doc: Contributor -- fix formatting and add info on fontforge
[lilypond.git] / python / book_html.py
index d3fa7e8db1cce2569352abce496b10b81b010c0b..cf56dd5f49ae92b1bc69058a59f49a9f27117638 100644 (file)
@@ -101,7 +101,7 @@ class BookHTMLOutputFormat (BookBase.BookOutputFormat):
 
     def split_snippet_options (self, option_string):
         if option_string:
-            options = re.findall('[\w\.-:]+(?:\s*=\s*(?:"[^"]*"|\'[^\']*\'|\S+))?',
+            options = re.findall('[-\w\.-:]+(?:\s*=\s*(?:"[^"]*"|\'[^\']*\'|\S+))?',
                                  option_string)
             options = [re.sub('^([^=]+=\s*)(?P<q>["\'])(.*)(?P=q)', '\g<1>\g<3>', opt)
                        for opt in options]