From 7da95c22707932135be3093830628b3b445ec94e Mon Sep 17 00:00:00 2001 From: Genert Org Date: Fri, 14 Jul 2017 17:20:26 +0300 Subject: [PATCH] README update --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 305ede2..d6ab29a 100644 --- a/README.md +++ b/README.md @@ -17,10 +17,9 @@ $ composer require genert/bbcode ``` ## Usage -The `genert/bbcode` library comes with functionality to convert BBCode to HTML or vice versa. ### `convertFromHtml(string $text)` -Converts BBCode to HTML and returns output as string. +Convert BBCode to HTML and returns parsed text as string. Example: ```php @@ -33,7 +32,7 @@ $bbCode->convertFromHtml('[b]Hello word![/b]'); ``` ### `convertToHtml(string $text, [$caseSensitive])` -Converts HTML to BBCode and returns output as string. +Convert HTML to BBCode and returns parsed text as string. Example: ```php