Hi, i have this issue also with 6.x-1.x-dev

the following snippet:

if (value == 42) {
...
}

As yoda condition written:


if (42 == value) {
...
}

works fine in the preview trimmed version. but in the full version, the first closing javascript tag is ignored. instead i get this:
[/geshifilter-javascript]

and the following text is inside the javascript highlighting.

this is especially strange, because on other nodes everything works fine.

any ideas?

Comments

soxofaan’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

I don't understand your description.
perhaps some source code you wrote was filtered/removed.

maybe it's easier to provide screenshots?

boombatower’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Please reopen with further details.