Hacker News new | ask | show | jobs
by seky 3347 days ago
Yes, that could be more specific (and I will make it probably configurable), currently it is: <a href>, <body>, <br>, <div>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <head>, <hr>, <html>, <i>, <img src width height>, <li>, <ol>, <p>, <ruby>, <strong>, <table>, <tbody>, <td colspan rowspan>, <th colspan rowspan>, <title>, <tr>
1 comments

It also converts e.g. b to strong.
That doesn't sound right.

By all means correct me if I'm wrong, but I recall learning that there's a semantic difference between b/strong (as well as i/em).

This probably isn't the same source that your'e thinking of, but here's a well-considered answer on SO to the question "Why are the <b> and <i> tags deprecated?".

https://softwareengineering.stackexchange.com/a/255588

Thanks!