Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Fix for #1046 (Custom JS is being escaped) #1102

Merged
merged 2 commits into from
Feb 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions anchor/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ function parse($str, $markdown = true)
$str = str_replace($search, $replace, $str);
}

$str = html_entity_decode($str, ENT_NOQUOTES, System\Config::app('encoding'));

// Parse Markdown as well?
if ($markdown === true) {
$md = new Parsedown;
Expand Down
8 changes: 1 addition & 7 deletions system/input.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,7 @@ public static function get($key, $fallback = null)
return static::get_array($key, $fallback);
}

$data = Arr::get(static::$array, $key, $fallback);

if (is_string($data)) {
return e($data);
}

return $data;
return Arr::get(static::$array, $key, $fallback);
}

/**
Expand Down