stwe/DatatablesBundle — pull request #72 by spmasterman (2014-12-02 15:21:42+00:00)
Title: Add raw filter to DOM rendering

datatables accepts a dom string that uses "<" and ">" to create custom divs while rendering the various bits of the view. For example <'row'<'col-md-6'l><'col-md-6'f>r>t<'row'<'col-md-6'i><'col-md-6'p>> renders everything in bootstrap grid style rows and columns.

The option setDom gets rendered without the |raw twig filter - so this gets escaped as <'row'<... etc. and so doesn't work as expected.

This PR just adds the |raw filter.

Also - this is the first PR I've done on any github project - apologies if I'm not following convention/protocol :)