A bare bones front-end for knockout designed for maximum compatibility with "obsolete" browsers
Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
|
- <?php
-
- namespace App\Helper;
-
- use App\BbCode\KnockoutDefinitionSet;
-
-
- class BBCode {
-
- private $content;
-
- public function __construct($content)
- {
- $this->content = $content;
- }
-
- public function render()
- {
- return nl2br(htmlentities($this->content));
- }
-
- }
|