Giter Site home page Giter Site logo

Comments (4)

odrobnik avatar odrobnik commented on June 3, 2024

Please send pull requests with changes you made so that I can easily merge them and you get attribution for them.

On Aug 10, 2011, at 1:54 PM, dhoerl wrote:

In DTHTMLElement.m, this line:

NSString *listStyleStr = [[styles objectForKey:@"list-style"] lowercaseString];

should instead be:

NSString *listStyleStr = [[styles objectForKey:@"list-style-type"] lowercaseString];

Once I made this change then my lists got the proper bullets.

Reply to this email directly or view it on GitHub:
https://github.com/Cocoanetics/NSAttributedString-Additions-for-HTML/issues/60

Oliver Drobnik
[email protected]

from dtcoretext.

odrobnik avatar odrobnik commented on June 3, 2024

Reason: somebody (probably me if no other smart person volunteers) needs to implement the correct parsing of list-style which is a short version of writing out the items of the sub-types in one line.

On Aug 10, 2011, at 1:54 PM, dhoerl wrote:

In DTHTMLElement.m, this line:

NSString *listStyleStr = [[styles objectForKey:@"list-style"] lowercaseString];

should instead be:

NSString *listStyleStr = [[styles objectForKey:@"list-style-type"] lowercaseString];

Once I made this change then my lists got the proper bullets.

Reply to this email directly or view it on GitHub:
https://github.com/Cocoanetics/NSAttributedString-Additions-for-HTML/issues/60

Oliver Drobnik
[email protected]

from dtcoretext.

dhoerl avatar dhoerl commented on June 3, 2024

On 8/10/11 8:31 AM, Cocoanetics wrote:

Reason: somebody (probably me if no other smart person volunteers) needs to implement the correct parsing of list-style which is a short version of writing out the items of the sub-types in one line.

I'm working on getting a proper fork so I can do a pull request on this.
I'd be glad to help out with the parsing but not quite sure what you
need done, as you appear to have most of this coded now.

But, given how much this framework is helping me, I'd be glad to help
out where possible.

David

from dtcoretext.

dhoerl avatar dhoerl commented on June 3, 2024

OK - I did the pull request. I also added two options to attributedString defaults for two indention properties.

I'd be glad to do the init-style work .

from dtcoretext.

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.