Skip to content

Commit 85ce3a5

Browse files
committed
fix: resolving source file in a tag attribute when another attribute contains the > char
1 parent 9154c9c commit 85ce3a5

122 files changed

Lines changed: 1213 additions & 563 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Change log
22

3+
## 3.15.1 (2024-07-07)
4+
5+
- fix: resolving source file in a tag attribute when another attribute contains the `>` char, e.g.:
6+
```html
7+
<img src="./arrow.png" alt="right->">
8+
```
9+
- chore: improve error handling when attributes parsing
10+
- test: improve test coverage
11+
312
## 3.15.0 (2024-06-20)
413

514
- feat: update `eta` package to latest version 3.4.0

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3936,7 +3936,7 @@ For example, there is the template _src/views/page/index.eta_
39363936
<h1><%= headline %></h1>
39373937
<ul class="people">
39383938
<% for (let i = 0; i < people.length; i++) {%>
3939-
<li><%= people[i] %>></li>
3939+
<li><%= people[i] %></li>
39403940
<% } %>
39413941
</ul>
39423942
<%~ include('/src/views/partials/footer') %>
@@ -4008,7 +4008,7 @@ For example, there is the template _src/views/page/index.ejs_
40084008
<h1><%= headline %></h1>
40094009
<ul class="people">
40104010
<% for (let i = 0; i < people.length; i++) {%>
4011-
<li><%= people[i] %>></li>
4011+
<li><%= people[i] %></li>
40124012
<% } %>
40134013
</ul>
40144014
<%- include('/src/views/partials/footer.html'); %>

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "html-bundler-webpack-plugin",
3-
"version": "3.15.0",
3+
"version": "3.15.1",
44
"description": "HTML bundler plugin for webpack handles a template as an entry point, extracts CSS and JS from their sources referenced in HTML, supports template engines like Eta, EJS, Handlebars, Nunjucks.",
55
"keywords": [
66
"html",
@@ -150,9 +150,9 @@
150150
"devDependencies": {
151151
"@babel/core": "^7.24.7",
152152
"@babel/preset-env": "^7.24.7",
153-
"@emotion/react": "^11.11.4",
154-
"@emotion/styled": "^11.11.5",
155-
"@mui/material": "^5.15.20",
153+
"@emotion/react": "11.11.4",
154+
"@emotion/styled": "11.11.5",
155+
"@mui/material": "5.15.20",
156156
"@test-fixtures/dius": "file:./test/fixtures/node_modules/dius/",
157157
"@test-fixtures/js": "0.0.2",
158158
"@test-fixtures/lorem": "file:./test/fixtures/node_modules/lorem/",

0 commit comments

Comments
 (0)