Skip to content

Latest commit

 

History

History
59 lines (51 loc) · 1.79 KB

File metadata and controls

59 lines (51 loc) · 1.79 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[Unreleased]

Added

  • Magic links implemented
  • Documentation updated

Changed

  • Added /.idea to .gitignore
  • Migrated from travisci
  • Minor README fixes

[1.1.0] - 2017-12-31

Added

  • CHANGELOG.md
  • Travis CI support file
  • HHVM support
  • New list synthax added ([list] / [*]) (according to documentation)
  • [email] tag added

Changed

  • BBCode::convert() - added $ignoreHtml param with default value of []

Fixed

  • Quotes are made unnecessary @ [color] tag
  • Quotes are made unnecessary @ [url] tag
  • Quotes are made unnecessary @ [size] tag
  • Quotes are made unnecessary @ [quote] tag
  • [li][/li] content is trimming now

Removed

  • Removed binding to htmlspecialchars() function

[1.0.0] - 2017-12-28

Added

  • Basic library functionality (src/BBCode.php):
    • [b]Bold string[/b]
    • [i]Italic string[/i]
    • [u]Underline string[/u]
    • [s]Strikethrough string[/s]
    • [url]http://www.domain.tld[/url]
    • [url=http://www.domain.tld]Another way to render a link[/url]
    • [img]http://www.domain.tld/upload/image.png[/img]
    • [quote]A quotation[/quote]
    • [code]A program code sample[/code]
    • [size=12]A text written using a 12px-sized font[/size]
    • [size="10pt"]A text written using a 10pt-sized font[/size]
    • [color="#33FF33"]A green text line[/color], [color=#33FF33]A green text line[/color]
    • [ul], [ol], [li] – list-related tags
    • [table], [tr], [td] – table-related tags
  • MIT LICENSE file
  • PHPUnit tests (tests/BBCodeTest.php)
  • PHPUnit configuration (/phpunit.xml)
  • README.md
  • Support files (.gitignore and composer.json)