Coder Social home page Coder Social logo

Comments (4)

dwaynebailey avatar dwaynebailey commented on July 20, 2024

Also there are quote a few of these:

“Headers & Footers”

And other enties with "

It would be great if these were converted to the correct character for the
translators so that they don’t have to learn what all these names character
variables mean. During the reverse process it would simply be a matter of
converting the character back into the named variable as needed.

from translate.

dwaynebailey avatar dwaynebailey commented on July 20, 2024

I’ve marked this as a 129 blocker. It isn’t really but the value of deciding
which html escapes should e covnerted to normal Unicode is great.

How do we determine what escapes should be escaped? Need to check occurances in
.proeprties and .dtd files to check.

from translate.

dwaynebailey avatar dwaynebailey commented on July 20, 2024

For now we're focusing only on DTD escapes see http://www.iro.umontreal.ca/~lapalme/ForestInsteadOfTheTrees/HTML/ch03s01.html

i.e

<

&

"

'

>

I think that is all

from translate.

unho avatar unho commented on July 20, 2024

Partially fixed in commits between 126590d and 9c5ba92 Several of the commits in this range include fixes for other tests, or other code affected by the changes in DTD store introduced to fix this bug.

Done:

  • Converting &#37, &#37 and % to % character, and converting back to % always.
  • Converting " to " character, and converting back (except when =" is present in string in order to avoid escaping things like HTML attributes, for example href one in HTML anchor tag).

Partially done:

  • Converting ' to ' character, and converting back, is not done in all cases. Just made minor adjustments in code but keeping the previous behavior. The previous behavior was kept because it is necessary for not breaking special behavior needed for roundtrip conversion in Mozilla DTD files. See bug http://bugs.locamotion.org/show_bug.cgi?id=2740

Not done:

from translate.

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.