Skip to content

Commit

Permalink
Merge pull request #49 from turnermm/dwed
Browse files Browse the repository at this point in the history
Fix for duplication of text on switch to dwedit
  • Loading branch information
turnermm committed Jan 1, 2018
2 parents 3b727e4 + db5d1a6 commit c839596
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
4 changes: 0 additions & 4 deletions action/save.php
Expand Up @@ -27,10 +27,6 @@ function ckgdoku_save_preprocess(Doku_Event $event){
}

global $TEXT, $conf;
if (isset($_REQUEST["dwed_cancel"]) ) {
$TEXT = io_readFile(wikiFN($_REQUEST["dwed_cancel"]));
return;
}
if (!$TEXT) return;
$preserve_enc = $this->getConf('preserve_enc');
$deaccent = $conf['deaccent'] == 0 ? false : true;
Expand Down

0 comments on commit c839596

Please sign in to comment.