Skip to content

Commit

Permalink
Fix namespace in composer
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-ro-fr committed Feb 14, 2019
1 parent 55c943a commit fec9299
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
],
"autoload": {
"psr-4": {
"Html2Text\\": "src"
"Soundasleep\\": "src"
}
},
"support": {
Expand Down
4 changes: 2 additions & 2 deletions html2text.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
require_once(__DIR__ . "/src/Html2TextException.php");

function convert_html_to_text($html, $ignore_error = false) {
return Html2Text\Html2Text::convert($html, $ignore_error);
return Soundasleep\Html2Text::convert($html, $ignore_error);
}

function fix_newlines($text) {
return Html2Text\Html2Text::fixNewlines($text);
return Soundasleep\Html2Text::fixNewlines($text);
}

0 comments on commit fec9299

Please sign in to comment.