Andre Arko
e1028be61a
Escape tag attributes and interpolated strings when the :escape_html flag is set. Add &== and !==.
2008-03-18 02:19:41 -07:00
Mislav Marohnić
68064df164
Try fixing Haml for edge Rails; refactored ActionPack loading in tests
2008-03-05 20:22:19 -08:00
Nathan Weizenbaum
56e9f4e8ef
Make the set of auto-preserved tags customizable.
2008-03-02 16:24:47 -08:00
Nathan Weizenbaum
a7c9aa9d83
Automatically preserve Haml textareas as well.
2008-03-02 16:12:57 -08:00
Nathan Weizenbaum
d3ba044529
Automatically preserve textareas generated via Rails helpers.
2008-03-02 15:11:26 -08:00
Nathan Weizenbaum
669066ca65
Rename Helpers#open to Helpers#haml_tag.
...
We never really wanted to conflict with Kernel#open,
and now that Merb is going to be merging the Controller and View namespaces
the issue becomes even worse.
2008-02-22 18:35:42 -08:00
nex3
2208ff91ca
Adding an optional block parameter to preserve and find_and_preserve.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@708 7063305b-7217-0410-af8c-cdc13e5119b9
2008-01-05 01:19:04 +00:00
nex3
a4c5b79dfb
Make trunk tests not break with Rails 2.0.1.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@689 7063305b-7217-0410-af8c-cdc13e5119b9
2007-12-11 02:00:06 +00:00
nex3
0c851db8eb
Caching in ActionView again.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@662 7063305b-7217-0410-af8c-cdc13e5119b9
2007-11-24 22:17:11 +00:00
nex3
eca1a675a3
ActionPack stuff isn't loaded unless it's needed. Thanks to Bob Aman for the original patch.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@624 7063305b-7217-0410-af8c-cdc13e5119b9
2007-11-18 11:14:12 +00:00
nex3
cc238a740c
Added Haml::Helpers#init_haml_helpers to help out people using Haml helpers out of the normal ActionView context.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@563 7063305b-7217-0410-af8c-cdc13e5119b9
2007-07-14 09:00:55 +00:00
tom
58a3836b8f
Merge prerendered open tags as regular text. Most of what can be merged into
...
blocks of prerendered text is now merged. New short test for making sure that
tabulation helpers are functioning properly.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@555 7063305b-7217-0410-af8c-cdc13e5119b9
2007-07-13 04:03:33 +00:00
nex3
9b5d11e80b
Fixed bug with variables being passed to captured blocks being forced into arrays. Thanks, Robin Ward!
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@516 7063305b-7217-0410-af8c-cdc13e5119b9
2007-05-15 15:51:50 +00:00
nex3
3d177edd2f
capture_haml_with_buffer shouldn't be run if we're in ERB. Fixes http://groups.google.com/group/haml?hl=en (the second bug).
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@515 7063305b-7217-0410-af8c-cdc13e5119b9
2007-05-12 21:33:58 +00:00
nex3
98b31319ab
Local variables assigned as actual local variables, rather than methods. Based on a patch by Tom Bagby.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@511 7063305b-7217-0410-af8c-cdc13e5119b9
2007-05-10 08:12:20 +00:00
nex3
16f2729279
is_haml? gives the right result (false) for non-Haml partials. This means that form_for and stuff like that in partials should work properly.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@485 7063305b-7217-0410-af8c-cdc13e5119b9
2007-04-05 19:09:07 +00:00
nex3
ff17efc1fc
Should fix interactions with other Rails plugins, namely simply_helpful. Thanks to Nate Vack.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@458 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-30 02:52:57 +00:00
nex3
0dfae72c4a
Moved the generate_content_class_names helper to a new ActionViewExtensions class, and renamed it page_class.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@419 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-17 03:13:20 +00:00
nex3
34651f048c
Nice formatting for form_for.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@320 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-31 03:17:57 +00:00
nex3
9846d89754
Wonderful, sensical error-reporting implemented. Yay!
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@313 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-27 10:29:14 +00:00
nex3
50890f523a
Fixes in trunk for Rails 1.2.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@289 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-19 02:54:40 +00:00
nex3
d10b74e7e9
Made require more sane by messing with $LOAD_PATH. Also fixed rcov in the process.
...
git-svn-id: svn://hamptoncatlin.com/haml/branches/1.5dev@190 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-03 23:56:47 +00:00
nex3
01dad1e2e8
Tests work to the extent they did before reorganization.
...
git-svn-id: svn://hamptoncatlin.com/haml/branches/1.5dev@187 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-03 22:37:17 +00:00
nex3
8b9e5a7bb2
Moving Haml tests into their own folder.
...
git-svn-id: svn://hamptoncatlin.com/haml/branches/1.5dev@184 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-03 22:25:40 +00:00