Thanks!

On Sun, May 9, 2010 at 3:02 PM, Nathan Weizenbaum <[email protected]> wrote:
> I've just pushed a fix to master for converting formatting like this.
>
> On Sun, May 9, 2010 at 2:47 PM, Nathan Weizenbaum <[email protected]> wrote:
>>
>> This is a pretty tricky case. When writing Haml by hand, we advise people
>> to just use the plain HTML tags for inline formatting. Unfortunately, it's
>> not possible for html2haml to figure out where "inline formatting" is. There
>> are several workarounds that can help with this, such as the succeed helper
>> and the whitespace operators, but none of these can handle every case
>> correctly.
>>
>> I'll look into handling at least the common case of commas and such,
>> though.
>>
>> On Sun, May 9, 2010 at 1:35 PM, Yang Zhang <[email protected]> wrote:
>>>
>>> html2haml seems to be inserting whitespace that wasn't in the source,
>>> eg the space after the "one" in the following:
>>>
>>> $ echo '<span>one</span>, <span>two</span>' | html2haml
>>> %span one
>>> ,
>>> %span two
>>>
>>> Any workarounds to avoid inserting this whitespace? Thanks in advance.
>>> --
>>> Yang Zhang
>>> http://yz.mit.edu/
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Haml" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/haml?hl=en.
>>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Haml" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>



-- 
Yang Zhang
http://yz.mit.edu/

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to