question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Title finder not working correctly

See original GitHub issue

The title finder, as well as the check for SVG tags, require tags that are closed immediately. Tags that have attributes are not being detected, the regexp and the indexOf functions need tweaking.

<!-- This works: -->
<title>New title</title>
<svg><title>Image title</title></svg>

<!-- This doesn't work: -->
<title id="">New title</title>
<svg id=""><title>Image title</title></svg>

<!-- This also doesn't work: -->
<svg><title>Image title</title></svg>
<title>New title</title>

https://github.com/bigskysoftware/htmx/blob/0aa372d4470fedfade118d033fa219b7c3c3a644/src/htmx.js#L708-L718

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
1cgcommented, Sep 6, 2021

Tests verified and I’ve created a 1.5.1 directory for testing. Shooting for a release this week.

Thank you @bencroker!

1reaction
bencrokercommented, Sep 3, 2021

Yup, I’ll write a test and implement, thanks for taking a look.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apple-click on Window Title no longer opens containing folder
I just discovered that when I Apple-click on the window title, then select the containing folder, it no longer opens in Finder.
Read more >
10.14: Only display full path in a Finder window's title bar and ...
I'm able to see the full path on the tab not just the first 12 characters in 10.14.2. · @MarcelWilson I can too...
Read more >
Quick Fixes to FCPX Titles Not Working - YouTube
Hi, if you have just installed a new Titles Plugin on your Final Cut Pro X (FCPX), and found out that it is...
Read more >
Mac Finder Sidebar Missing (2021 Updated Version) - YouTube
If your Mac Finder Sidebar is Missing this video will explain 2 quick fixes. I'll also show you how to better organize this...
Read more >
How to Always Show Window Title Proxy Icons on Mac
The Mac Finder and apps like Preview offer window title icons when you hover over the window title text, and once defaulted to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found