summaryrefslogtreecommitdiff
path: root/sphinx/directives/patches.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2016-08-22 17:48:47 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2016-09-01 23:35:23 +0900
commit15518bad12ddf39730f24249bfa3d6c630fdc9ef (patch)
treebe40f2bb9e12cfe66d5d16ed3e64dd1de0181167 /sphinx/directives/patches.py
parente1e5ae4b651cb7ad391fb537459155b4a10bade1 (diff)
downloadsphinx-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.py1
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