2017 © Pedro Peláez
 

silverstripe-vendormodule html5

HTML5 support for SilverStripe

image

silverstripe/html5

HTML5 support for SilverStripe

  • Monday, June 18, 2018
  • by hafriedlander
  • Repository
  • 15 Watchers
  • 15 Stars
  • 68,067 Installations
  • PHP
  • 8 Dependents
  • 0 Suggesters
  • 7 Forks
  • 2 Open issues
  • 13 Versions
  • 7 % Grown

The README.md

HTML5 support for SilverStripe

Build Status Scrutinizer Code Quality codecov SilverStripe supported module, (*1)

Requirements

  • SilverStripe 4.0 or higher

For a SilverStripe 3.x compatible version of this module, please see the 1.0 branch, or 1.x release line., (*2)

Summary

This module adds further HTML 5 support to SilverStripe., (*3)

Although SilverStripe supports using HTML 5 in templates out of the box, there are some limitations in the use of HTML in the content managed through the CMS., (*4)

HTMLText & HTMLVarchar

This module allows SilverStripe to support HTML 5 in HTMLText and HTMLVarchar fields, by providing a subclass of HTMLValue that uses the third party html5lib and causing the Injector to use this subclass by default., (*5)

SilverStripe stores HTMLText and HTMLVarchar fields in models as strings, but sometimes needs to convert these to DOM objects (for instance, to process shortcodes)., (*6)

Default SilverStripe behavior is to do this with DOMDocument#loadHTML, but that method throws an error when it encounters the new HTML5 element types. It also doesn't deal with unclosed elements and invalid HTML in the manner prescribed by the HTML5 spec., (*7)

This module replaces the code that does this conversion with code that uses html5lib, which supports HTML 5 as per the spec., (*8)

The Versions

18/06 2018

dev-master

9999999-dev

HTML5 support for SilverStripe

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

silverstripe html5 cwp

11/06 2018

2.0.x-dev

2.0.9999999.9999999-dev

HTML5 support for SilverStripe

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

silverstripe html5 cwp

02/04 2018

2.0.1

2.0.1.0

HTML5 support for SilverStripe

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

silverstripe html5 cwp

21/11 2017

2.0.0-beta1

2.0.0.0-beta1

HTML5 support for SilverStripe

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

silverstripe html5 cwp

21/11 2017

2.0.0

2.0.0.0

HTML5 support for SilverStripe

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

silverstripe html5 cwp

25/08 2017

1.0.x-dev

1.0.9999999.9999999-dev

HTML5 support for SilverStripe

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe html5 cwp

25/08 2017

1.0.5

1.0.5.0

HTML5 support for SilverStripe

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe html5 cwp

25/08 2017

1.0.6

1.0.6.0

HTML5 support for SilverStripe

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe html5 cwp

04/02 2016

1.0.4

1.0.4.0

HTML5 support for SilverStripe

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe html5 cwp

02/07 2015

1.0.3

1.0.3.0

HTML5 support for SilverStripe

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe html5

19/03 2013

1.0.1

1.0.1.0

HTML5 support for SilverStripe

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe html5

19/03 2013

1.0.1-rc1

1.0.1.0-RC1

HTML5 support for SilverStripe

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe html5

19/03 2013

1.0.2

1.0.2.0

HTML5 support for SilverStripe

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe html5