Skip to content
Snippets Groups Projects
Verified Commit 1ee4528c authored by Jake's avatar Jake
Browse files

fixed rawinline

parent 917abc09
No related branches found
No related tags found
No related merge requests found
......@@ -144,6 +144,11 @@
"attr": "attr",
"content": "inlines"
},
"rawinline": {
"eclass": "inline",
"format": "text",
"raw": "text"
},
"footnote": {
"eclass": "inline",
"content": "blocks"
......
......@@ -283,6 +283,16 @@
| content | \[[Inline](#inlines)\] | |
### rawinline
| Key | Parser | Comment |
|-----|--------|---------|
| etype | `rawinline` | |
| eclass | `inline` | |
| format | String | |
| raw | String | |
### footnote
| Key | Parser | Comment |
......
......@@ -389,7 +389,7 @@ class InlineFootnote(Inline): # [Block]
# TODO add footnote ids # TODO add back references # TODO handle duplicates
class InlineRaw(Inline): # Format Text
etype = "inlinecontainer"
etype = "rawinline"
def parse_internal(self, pandocraw):
self.format = self.parse_text(pandocraw[0])
self.raw = self.parse_text(pandocraw[1])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment