diff --git a/generate.py b/generate.py
index 82073db..a0609a2 100644
--- a/generate.py
+++ b/generate.py
@@ -9,10 +9,18 @@ import html
def generateNavigationBar(lines):
global navbar
navbar = E
+ rawhtml = False
+ htmlstring = ""
for id, line in enumerate(lines):
- title, link = line.strip().split(";", 1)
- navbar = navbar.li(HTML("" + title + ""))
+ #parse raw HTML
+ rawhtml, navbar, htmlstring = parseRawHTML(navbar, line, htmlstring, rawhtml, id, len(lines))
+
+ #parse markdown
+ if not rawhtml:
+ navbar = navbar.li(HTML(parseMarkdown(navbar, line)))
+ #title, link = line.strip().split(";", 1)
+ #navbar = navbar.li(HTML("" + title + ""))
def parseRawHTML(doc, line, htmlstring, rawhtml, id, maxlines):
#raw html start