From 1ee4528c111b70caf0ad42e1fb02d7c0bac279fb Mon Sep 17 00:00:00 2001
From: Jake <j.vondoemming@stud.uni-goettingen.de>
Date: Thu, 4 Aug 2022 15:49:50 +0200
Subject: [PATCH] fixed rawinline

---
 docs/content.json |  5 +++++
 docs/content.md   | 10 ++++++++++
 fgs/pandoc.py     |  2 +-
 3 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/docs/content.json b/docs/content.json
index ebc1412..2a57187 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 159f4eb..cd8b00c 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 a7f5adc..3bff878 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])
-- 
GitLab