diff --git a/docs/content.json b/docs/content.json index ebc14123b1ff53de1f0745f5ff049eaf900060f8..2a57187ec97644c4eef01bab1ab5b8af06246df2 100644 --- a/docs/content.json +++ b/docs/content.json @@ -144,6 +144,11 @@ "attr": "attr", "content": "inlines" }, + "rawinline": { + "eclass": "inline", + "format": "text", + "raw": "text" + }, "footnote": { "eclass": "inline", "content": "blocks" diff --git a/docs/content.md b/docs/content.md index 159f4eb19cfa1362a424e0ec2cd985d44c8b21d4..cd8b00c7de37ce43a3ba201bcfe636be6f115577 100644 --- a/docs/content.md +++ b/docs/content.md @@ -283,6 +283,16 @@ | content | \[[Inline](#inlines)\] | | +### rawinline + +| Key | Parser | Comment | +|-----|--------|---------| +| etype | `rawinline` | | +| eclass | `inline` | | +| format | String | | +| raw | String | | + + ### footnote | Key | Parser | Comment | diff --git a/fgs/pandoc.py b/fgs/pandoc.py index a7f5adce8b2a1b182034879770c68590250a3728..3bff878e6f64e978460b53185cddd1bdc9b7067e 100644 --- a/fgs/pandoc.py +++ b/fgs/pandoc.py @@ -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])