Giter Club home page Giter Club logo

Comments (5)

takahi-i avatar takahi-i commented on June 8, 2024

InvalidCharacterValidator cannot handle the quotation mark with spaces problem as this topic.

One solution could be that we creates a new validator which just handle quotation marks named QuotationMarkValidator which takes left and right spaces into considerations.

from redpen.

takahi-i avatar takahi-i commented on June 8, 2024

If I creates QuotationMarkValidator, it would be a good idea to remove quotation marks from character tables since character based validators cannot solve the quotation mark problems..

from redpen.

takahi-i avatar takahi-i commented on June 8, 2024

Another idea is that Add non left or right QuotationMark in the character table and configure the preference in the QuotationMarkValidator. The configuration could be as follows.

<QuotationMarkValidator>
  <property name="use-same-single-quotation" value="true">
</QuotationMarkValidator>

from redpen.

takahi-i avatar takahi-i commented on June 8, 2024

Decided to change default characters of quotations into non ascii characters. If users uses QuotationValidator for checking ascii quotation marks such as ' or " (these quotation mark does not have left and right variations) , users add the property use-acii.

<QuotationMarkValidator>
   <property name="use-acii" value="true">
</QuotationMarkValidator>

from redpen.

takahi-i avatar takahi-i commented on June 8, 2024

fixes with #26

from redpen.

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.