Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn of inconsistent use of P tags within an LI #1130

Open
jidanni opened this issue Nov 25, 2024 · 0 comments
Open

Warn of inconsistent use of P tags within an LI #1130

jidanni opened this issue Nov 25, 2024 · 0 comments

Comments

@jidanni
Copy link
Contributor

jidanni commented Nov 25, 2024

See that line without a <p> tag hiding in the middle there?:

   <li>
     <h3 id="do_not_blame">別怪地圖</h3>

     <p>好, 若不要製圖單位大膽的把【中正路】寫在馬路上, 那麼就只好寫在房子上。 每房子標全址,
     圖就壅塞。</p>
     This line has no "p" tag!
     <p>大多數X路Y號的房子前邊就是X路。 除非要很多人工介入, 判別。

Well, sure, we all make lists with no P tags all the time.

<UL><LI><LI><LI></UL>

However when we do use P tags within an LI, we expect we use them consistently.

So tidy should warn us when we don't!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant