Skip to content

Commit 6b4a5be

Browse files
committed
Update HTMLHint version and UI markup
Bumped displayed HTMLHint version to 1.8.0 in app.js. Improved index.astro markup by self-closing <hr> tags, formatting button elements, and updating copyright year.
1 parent c2636cf commit 6b4a5be

File tree

3 files changed

+11
-20
lines changed

3 files changed

+11
-20
lines changed

package-lock.json

Lines changed: 1 addition & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/pages/index.astro

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,30 @@ import RulePanel from '../components/RulePanel.astro';
1616
<h1 class="h3">HTMLHint <span id="version" class="text-muted opacity-75 small"></span></h1>
1717
</nav>
1818

19-
<hr>
19+
<hr />
2020

2121
<main>
2222
<Editor />
2323

2424
<div id="stat-bar" class="bg-black bg-opacity-25">
2525
<span id="hint-state"></span>
2626
<div id="button-area">
27-
<button id="show-last" class="btn btn-sm btn-primary" type="button" title="Ctrl + Left">Previous</button>
28-
<button id="show-next" class="btn btn-sm btn-primary" type="button" title="Ctrl + Right">Next</button>
27+
<button id="show-last" class="btn btn-sm btn-primary" type="button" title="Ctrl + Left"
28+
>Previous</button
29+
>
30+
<button id="show-next" class="btn btn-sm btn-primary" type="button" title="Ctrl + Right"
31+
>Next</button
32+
>
2933
</div>
3034
</div>
3135

3236
<RulePanel />
3337
</main>
3438

35-
<hr>
39+
<hr />
3640

3741
<footer class="small text-center opacity-75">
38-
<p>&copy; HTMLHint.com 2014-2024</p>
42+
<p>&copy; HTMLHint 2025</p>
3943
</footer>
4044
</div>
4145
</Layout>

src/scripts/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ function initOptions() {
254254
if (versionElement && window.HTMLHint) {
255255
// The new HTMLHint library doesn't expose version/release directly
256256
// We'll use a fixed version since we know it's 1.6.3
257-
versionElement.textContent = 'v1.6.3';
257+
versionElement.textContent = 'v1.8.0';
258258
}
259259

260260
// Handle checkbox changes

0 commit comments

Comments
 (0)