Giter VIP home page Giter VIP logo

website-customisations's Issues

Quote formatting doesn't work when '>' char is prefixed by a newline

Every now and again there are comments that manage to get a newline before the start of their quote marker. We should handle this.

<span class="commtext c00"> &gt; For me the biggest problem with a setup like this is complete loss of access to my secrets. The crypto functions supported by browsers may change in future. A cipher algorithm used to encrypt my secrets may get deprecated and removed by the browser in future<p>These are NIST-recommended algorithms, they'll be around for a while...
              </p><div class="reply"></div></span>

Screenshot 2022-12-21 at 21 33 20

Quote formatting doesn't work when original is italicised

When commenters make their own quotes italic, it breaks our custom formatting logic.

See https://news.ycombinator.com/item?id=34072393

<span class="commtext c00">&gt; <i>The estimates seem a bit high, or perhaps unbalanced from book to book. The Count of Monte Cristo is slated for 208 days at twenty minutes per day!</i><p>I've started reading <i>Monte Cristo</i> one day. I finished the 1800 pages of it in one long 48 hours sitting, hardly sleeping or doing anything else. That's how you read this book. It was a <i>feuilleton</i>, one page a day in the newspaper, and there is a cliffhanger at the last line of every frigging page. You just <i>can't stop</i>. It was certainly a big selling point for the journal publishing it back then :D
</p><div class="reply"></div></span>

Screenshot 2022-12-21 at 12 04 54

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.