From 97130f95f04bd5cf8363b35994e3c44f11d70f0c Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Mon, 27 Jan 2020 21:03:39 +0100 Subject: Wiki: Render WikiWord links and autolinks on the server side. Change-Id: I46f972bcebf765a3d9fb55b7b35f40deb978dc5d --- src/main/resources/templates/benki/wiki/wikiPage.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/main/resources/templates') 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 @@
- {#with page}{content.raw}{/} + {#with page}{enrichedContent.raw}{/}
-- cgit v1.2.3