mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Dollar in id has to be replaced for javascript.
This commit is contained in:
parent
59cf3db674
commit
ba00521009
@ -93,7 +93,7 @@ class JSObject(ObjectDescription):
|
||||
fullname = name_obj[0]
|
||||
if fullname not in self.state.document.ids:
|
||||
signode['names'].append(fullname)
|
||||
signode['ids'].append(fullname)
|
||||
signode['ids'].append(fullname.replace('$', '_S_'))
|
||||
signode['first'] = not self.names
|
||||
self.state.document.note_explicit_target(signode)
|
||||
objects = self.env.domaindata['js']['objects']
|
||||
|
Loading…
Reference in New Issue
Block a user