Comments (4)
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.
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.
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.
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)
- 图片content-type 不以 image开头 HOT 1
- Ask if it is collectionView how to use Thank you HOT 1
- Nested list render issue
- Picture position is invalid HOT 1
- Switch to Secure Object Archiving APIs
- Set spacing between lines.
- Disable bitcode HOT 1
- I have a improvement for support Image display, I think this change can be merged ? HOT 1
- Empty anchor element support HOT 5
- support for css rem HOT 2
- Found the crash of iOS, hope to get your help HOT 5
- XCode 14.3 warning when compiling DTCompatibility.h HOT 1
- DTCoreText support .xhtml file ? HOT 1
- issue crash when load html
- On iOS 16, enabling VoiceOver and rendering custom views using DTAttributedTextContentView causes crashes. HOT 7
- issue crash when load html
- "<" disappearing on iOS 16 HOT 1
- object tag can't display when it has child element
- set attribute .underLineColor is invalid
- Page data display may overlap
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dtcoretext.