Gossamer Forum
Home : Products : Gossamer Links : Discussions :

compress, crumb_separator and category_separator in GLinks v. 3.0.1

Quote Reply
compress, crumb_separator and category_separator in GLinks v. 3.0.1
Hi!

If you want to use default ' > ' (space>space) as crumb_separator and category_separator on site the following problem pops up:

When compress is set to 'No' everything is fine.

The result of:

|<%crumb_separator%>|<%category_separator%>|

is

| > | > |

exactly the way I expect.


But if you turn compress to 'Yes' the result is:

|> |> | - no leading space


If I use *,-,| ... as separator, the result is as expected - spaceSOMETHINGspace



Why is this happening?

Thanks in advance!
Quote Reply
Re: [Payooo] compress, crumb_separator and category_separator in GLinks v. 3.0.1 In reply to
format_title html escapes the separator for you. If you want to just use the tag, you need to html escape it (ie. <%escape_html crumb_separator%>).

Adrian