diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-01-27 21:03:39 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-01-27 21:03:39 +0100 |
commit | 97130f95f04bd5cf8363b35994e3c44f11d70f0c (patch) | |
tree | 97a31afc7213ae64ae1a82b85d09f96865ad4d28 /src/main/resources/templates/benki | |
parent | 0c1536469d7e3e286bd72df8e09ac7e4a7a0c4ae (diff) |
Wiki: Render WikiWord links and autolinks on the server side.
Change-Id: I46f972bcebf765a3d9fb55b7b35f40deb978dc5d
Diffstat (limited to 'src/main/resources/templates/benki')
-rw-r--r-- | src/main/resources/templates/benki/wiki/wikiPage.html | 5 |
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> |