Haml ... ending a line with a | (vertical bar)

I don't know if HAML questions are appropriate here ... but here goes.

How does on end line to be rendered with a vertical bar (|) ?

The vertical bar is a line continuation, aparently.

Doing \| cause the vertical bar to be emitted ... as well as the backslash.

I don't think that is what the OP is trying to do. I think he is trying to output a line of html which has | as the last character.

Colin

Ralph Shnelvar wrote:

I don't know if HAML questions are appropriate here ... but here goes.

How does on end line to be rendered with a vertical bar (|) ?

The vertical bar is a line continuation, aparently.

Doing \| cause the vertical bar to be emitted ... as well as the backslash.

Have you tried outputting a string:

= "Some string ending with a vertical bar |"

Peace.

Phillip Koebbe wrote:

Ralph Shnelvar wrote:

Have you tried outputting a string:

= "Some string ending with a vertical bar |"

Ok! That did the trick. Thank you!!!