Skip to content

Commit 5e9abeb

Browse files
Quotation marks in LESS code no longer produce escaped characters
1 parent f2c73e1 commit 5e9abeb

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

changelog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
1.0.1 - August 2020
2+
-------------------
3+
* Quotation marks in LESS code no longer produce escaped characters
4+
15
1.0.0 - Initial Release (August 2020)

effective-less-css.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function setContent($content, $field='main_style')
8787
public function onInit()
8888
{
8989
if (!empty($_REQUEST['effective_less_css_save']) && current_user_can('manage_options')) {
90-
$this->setContent($_REQUEST['effective_less_css_textarea']);
90+
$this->setContent(stripslashes($_REQUEST['effective_less_css_textarea']));
9191
$this->alert_updated=true;
9292
}
9393
}

0 commit comments

Comments
 (0)