Skip to content
Permalink
Browse files

adds missing HTML_BLOCK aliases

  • Loading branch information...
turnermm committed Apr 17, 2018
1 parent 679d704 commit fb35b074691c5c6294936a77ccf62496b97dc406
Showing with 9 additions and 5 deletions.
  1. +4 −1 Changes
  2. +1 −1 plugin.info.txt
  3. +2 −1 script.js
  4. +1 −1 scripts/script-cmpr.js
  5. +1 −1 version
@@ -1,4 +1,4 @@
rev_18-Mar_15-19_59
rev_18-Apr_17-10_34

Switched dafault filebrowser settings to all and ckgedit

@@ -195,3 +195,6 @@ fix corrupted image as link when checking for userheading and relative links

Jan 31
Restores query string to internal link, missing after coded for relative links

Apr 17
Adds missing HTML_BLOCK aliases
@@ -1,7 +1,7 @@
base ckgdoku
author Myron Turner
email turnermm02@shaw.ca
date 2018-03-15
date 2018-04-17
name ckgdoku
desc WYSIWYG plugin for Dokuwiki
url https://www.dokuwiki.org/plugin:ckgdoku
@@ -39,7 +39,8 @@ var HTMLParser_Elements = new Array();

HTMLParser = this.HTMLParser = function( html, handler ) {
var index, chars, match, stack = [], last = html;

html = html.replace(/~~OPEN_HTML_BLOCK~~/gm , '~~START_HTML_BLOCK~~') ;
html = html.replace(/~~END_HTML_BLOCK~~/gm , '~~CLOSE_HTML_BLOCK~~') ;
if(html.match(/~~START_HTML_BLOCK~~/gm) ){ //adopted [\s\S] from Goyvaerts, Reg. Exp. Cookbook (O'Reilly)
if(!JSINFO['htmlok']) {
html = html.replace(/~~START_HTML_BLOCK~~|~~CLOSE_HTML_BLOCK~~/gm,"");

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -1 +1 @@
_ckgDoku-ckgedit_457-18-Mar_15-19_59
_ckgDoku-ckgedit_457-18-Apr_17-10_34

0 comments on commit fb35b07

Please sign in to comment.
You can’t perform that action at this time.