You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 23, 2018. It is now read-only.
For my project the CSS is concatenated/minified by h5bp however the HTML pages are actually JSP tag templates. The current replacement regexp is assuming where the quotes should go and this is causing problems when using JSP snippets eg:
For my project the CSS is concatenated/minified by h5bp however the HTML pages are actually JSP tag templates. The current replacement regexp is assuming where the quotes should go and this is causing problems when using JSP snippets eg:
<link rel="stylesheet" href="<%= application.getContextPath() + "/css/main.css" %>">
produces
<link rel="stylesheet" href='<%= application.getContextPath() + "/css/3f2f17c.css' %>">
which causes JSP errors, as the single quotes are added by the Ant regexp replace.
The regexp IMO should actually capture everything (including quotes) around the filename ie: main.css and just replace the filename.
I'll be submitting a pull request with a fix.
The text was updated successfully, but these errors were encountered: