need a convenient way to strip whitespace
Reported by Bryan Larsen | January 30th, 2010 @ 04:26 PM | in Beyond Hobo 1.0
Here's an example of how call-tag has to look to avoid adding extra white space:
<def tag="call-tag" attrs="tag"><%= send(tag.gsub('-', '_'), attributes, parameters) -%></def>
If we had to write most of the tags like that in Rapid, things would get annoying very quickly. If def had an attribute that stripped out whitespace when set, that would be cool.
Comments and changes to this ticket
-
Bryan Larsen February 19th, 2010 @ 06:36 PM
- Tag changed from dryml enhancement to dryml, enhancement
- State changed from new to open
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป