Skip to content

Replacements in conditional comments #33

@pfeigl

Description

@pfeigl

I'm using a conditional comment to load a javascript file only when running within IE7 or earlier.
I'm using the following code for that

<!--[if lte IE 7]>
<script type="text/javascript" src="@{/resources/externals/navigation/jquery.dropdown.js}"></script>
<![endif]-->

Unfortunately the resource link is not resolved, due to the content not beeing part of the actual document but just within a comment.
Is there any change to make thymeleaf handle the replacement anyways?

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions