11 Commits

Author SHA1 Message Date
Lonnie Ezell
c67d5e1053 Do not do any escaping of data by default. 2015-10-23 11:25:10 -05:00
Lonnie Ezell
f537cdd92e Removing auto-escaping from view() method. Adding missing 'raw' flag to turn off escaping for setVar and setData. 2015-10-08 09:02:32 -05:00
Lonnie Ezell
bb2e5d0c0b You should be able to specify escape context with setVar and setData 2015-10-07 23:58:18 -05:00
Lonnie Ezell
5dd10ba0e7 Refactor escaping to allow it usable in views. Also modified the way that render() method works for more flexbility with addons and overrides. 2015-10-07 23:32:30 -05:00
Lonnie Ezell
2ebd5ab454 Moved the escape View function to a separate file/function so it can be used on arbitrary data in views. 2015-10-07 22:30:05 -05:00
Lonnie Ezell
e5b575fa80 Do object type checking before running through htmlspecialchars. 2015-10-06 23:13:59 -05:00
Lonnie Ezell
0bed5d8f61 Refactor View lib to not have a hard-coded view path for easier reuse outside of CI. 2015-10-06 22:52:09 -05:00
Lonnie Ezell
2bbeadf4da Removing a completed todo comment. 2015-10-06 22:43:53 -05:00
Lonnie Ezell
f95564afe1 Added basic auto-escaping of data to Views. 2015-10-06 22:42:36 -05:00
Lonnie Ezell
b009432026 Allow data passed to render() method for experience more consistent with what we currently have. 2015-10-06 00:37:24 -05:00
Lonnie Ezell
7c74b0cd0f Very simple Views solution implemented. Needs more work for things like filtering of data and Loading outside of application/views. 2015-10-06 00:22:08 -05:00