|
|
@@ -78,7 +78,11 @@ $(function() {
|
|
|
var parsedHTML = crowiRenderer.render(markdown, rendererOptions);
|
|
|
|
|
|
// create context object
|
|
|
- var context = {markdown, parsedHTML, currentPagePath: location.pathname};
|
|
|
+ var context = {
|
|
|
+ markdown,
|
|
|
+ parsedHTML,
|
|
|
+ currentPagePath: decodeURIComponent(location.pathname)
|
|
|
+ };
|
|
|
|
|
|
// process interceptors for pre rendering
|
|
|
crowi.interceptorManager.process('preRenderPreview', context) // process with the context
|