Git Product home page Git Product logo

Comments (4)

jotaen avatar jotaen commented on August 23, 2024 1

tl;dr: in the whitespace definition, replace another character with any other characters.

Good point, that should be fixed. I’m not determined yet what protocol to follow regarding spec changes now that we track versions, because I don’t just want to commit to master and cut a new version for every tiny change. I’ll come up with a procedure.

And I would like to mention (even though this is overkill), with a custom typeface, any character could appear blank.

Appreciate the nit-pick, you are spot on actually. This phrasing was intentionally sloppy, not for a good reason but more out of laziness back then. Since the spec refers to unicode character classes for what a “letter” is, I think it’s best to base the definition of whitespace on that as well. (See https://en.wikipedia.org/wiki/Whitespace_character#Unicode).

from klog.

vladdeSV avatar vladdeSV commented on August 23, 2024

And I would like to mention (even though this is overkill), with a custom typeface, any character could appear blank. Eg. if I make my own font "vladde.ttf" and made the letter a appear as a blank character, this specification would allow it.

However, going this far is overkill, in my opinion.

from klog.

jotaen avatar jotaen commented on August 23, 2024

Also, linebreaks are technically whitespace as well, but that’s not how the term is used in the spec.

from klog.

jotaen avatar jotaen commented on August 23, 2024

Fixed via #119.

from klog.

Related Issues (20)

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.