mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fixed one more invalid char for make_id.
This commit is contained in:
parent
96bfbdcc77
commit
531c27c89a
@ -177,7 +177,7 @@ class EpubBuilder(StandaloneHTMLBuilder):
|
||||
# generic support functions
|
||||
def make_id(self, name):
|
||||
"""Replace all characters not allowed for (X)HTML ids."""
|
||||
return name.replace('/', '_')
|
||||
return name.replace('/', '_').replace(' ', '')
|
||||
|
||||
def esc(self, name):
|
||||
"""Replace all characters not allowed in text an attribute values."""
|
||||
|
Loading…
Reference in New Issue
Block a user