Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Grandt committed Feb 21, 2016
1 parent ab79529 commit 584a32d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/PHPePub/Helpers/StringHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class StringHelper {
/**
* Ensure the encoded string is a valid UTF-8 string.
*
* Note, that a mb_detect_encoding on the returned string will still return ASCII if the entire string is comprized of characters in the 1-127 range.
* Note, that a mb_detect_encoding on the returned string will still return ASCII if the entire string is comprised of characters in the 1-127 range.
*
* @link: http://snippetdb.com/php/convert-string-to-utf-8-for-mysql
*
Expand Down Expand Up @@ -53,7 +53,7 @@ public static function html2text($string) {
*
* Default version (4) will generate a random UUID, version 3 will URL based UUID.
*
* Added for convinience
* Added for convenience
*
* @param int $bookVersion UUID version to retrieve, See lib.uuid.manual.html for details.
* @param string $url
Expand All @@ -65,7 +65,7 @@ public static function createUUID($bookVersion = 4, $url = null) {
}

/**
* Encode html code to use html entities, safeguarding it from potential character encoding peoblems
* Encode html code to use html entities, safeguarding it from potential character encoding problems
* This function is a bit different from the vanilla htmlentities function in that it does not encode html tags.
*
* The regexp is taken from the PHP Manual discussion, it was written by user "busbyjon".
Expand Down

0 comments on commit 584a32d

Please sign in to comment.