Revision history for Perl extension HTML::Template::Extension.
- Add TAG_ATTRIBUTE_NORMALIZER plugin to remove unknown HTML::Template
attribute.
- Parameter passed to plugin_add can now be an object. The object must
implements an init method, a push_filter method and a static method
filter. Take a look to ObjBase.pm as an example.
- Add HTML::Template::Extension::ObjBase as a base object to use to
implements your templating filter.
- In previuos version when you add a plugin all present plugins were
unloaded and then all were loaded. Now we don't unload and we only
load the added one.
- Plugins_clears didn't work. Now it do.
- Fixed an uninitialized value string in CSTART.
- Fixed two uninitialized value strings in HTML::Template::Extension.
- Removed a unnecessary required library in test script.
- Plug-ins filosofy has been rearranged reducing code line number.
- Now plugins aren't more true objects but are piece of code that
will be loaded on demand.
- Use of AUTOLOAD mechanism to call methods in plugins.
- Removed an useless modifier regular expression flag in IF_TERN.pm
- Modify SLASH_VAR, CSTART, DOC, HEAD_BODY filter to be more efficient.
- IF_TERM now use a one-pass regex algorithm to apply filter (thanks
PODMASTER for patch).
- Remove every reference to $& which slows perl down
- Header method in HEAD_BODY.pm return unconsistent values if html
headers don't exist.
- Removed a memory leak in Extension.pm when load and unload plusins
- Added method header_tokens that return a complex structure of html
header in HEAD_BODY.pm
- Added header_css that return header <STYLE> tags in HEAD_BODY.pm
- Added body_attributes that return body attributes of template
in HEAD_BODY.pm
- In HEAD_BODY.pm method js_header is now an alias for header_js
- Test file have an unnecessary required modules for DBI e Data::Dumper.
Removed this required modules from test file
- Add IF_TERN plugins. Read documentation for more info.
- Changed MakeFile.PL to chck correctly prereq modules.
- Problems in params when calling "html" method more time in the same istance
solved.
- Remove a bug that show previous template parsed if, with the same istance,
you print a template via "html" method and then via the "scalarref-output"
methods.
- Now Makefile.PL checks if installed HTML::Template module version is major
that 2.1 because previous version don't support filter method.
- Not in according with documentation, if CSTART plugin is loaded and in the
template there is nothing <TMPL_CSTART> tag, an empty string is returned.
Now is returned the whole template file.
- First release of HTML::Template::Extension