Permalink
Browse files

Reverted README formatting error.

  • Loading branch information...
1 parent 71a526d commit 63ba46441829c480b631c3d6a4a4fcef540a19d9 @refringe committed Sep 15, 2016
Showing with 9 additions and 9 deletions.
  1. +9 −9 README.md
View
@@ -5,25 +5,25 @@ CodeIgniter HTML Purifier Helper
Installation
------------
- - Copy HTML Purifier helper to:
+ - Copy HTML Purifier helper to:
`./application/helpers/htmlpurifier_helper.php`
- - Download the [HTML Purifier standalone version](http://htmlpurifier.org/download) and copy to:
+ - Download the [HTML Purifier standalone version](http://htmlpurifier.org/download) and copy to:
`./application/third_party/htmlpurifier-4.8.0-standalone/*`
- - Make the following directory writable by your web server:
- `./application/third_party/htmlpurifier-4.8.0-standalone/standalone/HTMLPurifier/DefinitionCache/Serializer`
+ - Make the following directory writable by your web server:
+ `./application/third_party/htmlpurifier-4.8.0-standalone/standalone/HTMLPurifier/DefinitionCache/Serializer`
Permission 775 (-rwxrwxr-x) is usually sufficient, depending on your web server configuration.
Usage
-----
- - Create and customize HTML Purifier configurations by opening the helper (`htmlpurifier_helper.php`) and editing/adding case statements as needed. There's a default configuration named "comment" that should be sufficient for basic web comments with HTML allowed, but be sure to check it and make sure it meets your standards.
+ - Create and customize HTML Purifier configurations by opening the helper (`htmlpurifier_helper.php`) and editing/adding case statements as needed. There's a default configuration named "comment" that should be sufficient for basic web comments with HTML allowed, but be sure to check it and make sure it meets your standards.
View the [HTML Purifier Configuration Documentation](http://htmlpurifier.org/live/configdoc/plain.html) for more information.
- - Use the following code to purify using the default configuration:
- `$this->load->helper('htmlpurifier');`
- `$clean_html = html_purify($dirty_html);`
+ - Use the following code to purify using the default configuration:
+ `$this->load->helper('htmlpurifier');`
+ `$clean_html = html_purify($dirty_html);`
Where `$dirty_html` is a string, or an array of strings.
- - To use a custom configuration, pass the name of the configuration in the second parameter:
+ - To use a custom configuration, pass the name of the configuration in the second parameter:
`$clean_html = html_purify($dirty_html, 'comment');`

0 comments on commit 63ba464

Please sign in to comment.