summaryrefslogtreecommitdiff
path: root/src/main/resources/templates/benki/wiki
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-01-27 21:03:39 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-01-27 21:03:39 +0100
commit97130f95f04bd5cf8363b35994e3c44f11d70f0c (patch)
tree97a31afc7213ae64ae1a82b85d09f96865ad4d28 /src/main/resources/templates/benki/wiki
parent0c1536469d7e3e286bd72df8e09ac7e4a7a0c4ae (diff)
Wiki: Render WikiWord links and autolinks on the server side.
Change-Id: I46f972bcebf765a3d9fb55b7b35f40deb978dc5d
Diffstat (limited to 'src/main/resources/templates/benki/wiki')
-rw-r--r--src/main/resources/templates/benki/wiki/wikiPage.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/resources/templates/benki/wiki/wikiPage.html b/src/main/resources/templates/benki/wiki/wikiPage.html
index f9f5214..901b300 100644
--- a/src/main/resources/templates/benki/wiki/wikiPage.html
+++ b/src/main/resources/templates/benki/wiki/wikiPage.html
@@ -25,10 +25,11 @@
requestParams.append(name, regions[name]);
}
- var response = await fetch("/wiki/{page.title}", {
+ let response = await fetch("/wiki/{page.title}", {
method: 'POST',
body: requestParams
});
+
this.busy(false);
});
});
@@ -45,7 +46,7 @@
<main>
<div data-editable data-name="wiki-content">
- {#with page}{content.raw}{/}
+ {#with page}{enrichedContent.raw}{/}
</div>
</main>