jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Mojo Web Minifier Maven Plugin
  • Mojo Web Minifier Maven Plugin
  • MWEBMINI-7

Inline script/template is removed

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.0.0
  • Fix Version/s: 1.0.1
  • Labels:
    None
  • Number of attachments :
    0

Description

If have the following in my html:

<script id="defaultValidationMessageTemplate" type="text/html">
   <div class="validatieBox">
      <span class="validatieMessage"
            style="position: absolute"
            data-bind='validationMessage: field'>&otimes;</span>
   </div>
</script>

This markup is removed by the plugin and is not re-included in a minified version.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Bert Vanhooff added a comment - 14/May/12 8:00 AM

By looking at the code, in 1.0.1-SNAPSHOT, this should be fixed already (see DocumentResourceReplacer.isJSType()).

1.0.1-SNAPSHOT would not work in my case since I did not specify the type attribute in the script tags (not required in HTML 5). Will create a new issue for this one.

Show
Bert Vanhooff added a comment - 14/May/12 8:00 AM By looking at the code, in 1.0.1-SNAPSHOT, this should be fixed already (see DocumentResourceReplacer.isJSType()). 1.0.1-SNAPSHOT would not work in my case since I did not specify the type attribute in the script tags (not required in HTML 5). Will create a new issue for this one.
Hide
Permalink
Bert Vanhooff added a comment - 14/May/12 8:01 AM

Already fixed in 1.0.1

Show
Bert Vanhooff added a comment - 14/May/12 8:01 AM Already fixed in 1.0.1

People

  • Assignee:
    Unassigned
    Reporter:
    Bert Vanhooff
Vote (0)
Watch (1)

Dates

  • Created:
    14/May/12 5:15 AM
    Updated:
    14/May/12 8:01 AM
    Resolved:
    14/May/12 8:01 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.