diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2016-08-22 17:48:47 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2016-09-01 23:35:23 +0900 |
| commit | 15518bad12ddf39730f24249bfa3d6c630fdc9ef (patch) | |
| tree | be40f2bb9e12cfe66d5d16ed3e64dd1de0181167 /sphinx/directives/patches.py | |
| parent | e1e5ae4b651cb7ad391fb537459155b4a10bade1 (diff) | |
| download | sphinx-git-15518bad12ddf39730f24249bfa3d6c630fdc9ef.tar.gz | |
Fix could not translate the content of meta directive (ref: #1734)
Diffstat (limited to 'sphinx/directives/patches.py')
| -rw-r--r-- | sphinx/directives/patches.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/directives/patches.py b/sphinx/directives/patches.py index 6a88db09a..041bee360 100644 --- a/sphinx/directives/patches.py +++ b/sphinx/directives/patches.py @@ -47,6 +47,7 @@ class Meta(html.Meta): meta = node.details['nodes'][0] meta.source = env.doc2path(env.docname) meta.line = self.lineno + meta.rawcontent = meta['content'] # docutils' meta nodes aren't picklable because the class is nested meta.__class__ = addnodes.meta |
