Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Feature Request: Ability to ignore embedded inline css #649

Closed
PadraigK opened this Issue · 2 comments

2 participants

@PadraigK

We are rendering some HTML and wish to completely ignore any CSS information in the HTML so that the global CSS and own font choices and defaults will be all that applies.

I am able to achieve this by setting styleSting = nil on line 757 of DTCSSStylesheet.m, but it would be very helpful if there were a settings for turning this off.

@Cocoanetics
Owner

@PadraigK you are welcome to implement this and send a pull request.

@Cocoanetics
Owner

@PadraigK I'm Implementing a parsing option now, are you around to test my implementation so that I can release this today?

@KraigWastlund KraigWastlund referenced this issue from a commit in jjamminjim/DTCoreText
@KraigWastlund KraigWastlund Merge branch 'master' of https://github.com/cabosoft/DTCoreText
# By Oliver Drobnik (331) and others
# Via Oliver Drobnik (104) and others
* 'master' of https://github.com/cabosoft/DTCoreText: (402 commits)
  C++ header import suport
  Changed DTAttributedTextContentView to discard invalid CGContexts.
  fixed missing doc for param
  Updated podspec with different path for prepare_command
  removed individual change log links from readme
  Updated to DTFoundation 1.6.1
  should not have been part of this PR
  missing from the last commit
  added support for border-color,border-radius, border-width
  Perform unit tests on 6.1 sim
  Added syntax highlighting for code snippets in Programming Guide
  Added docs about working with remote images, added a link to Programming Guide in Readme
  also build with 64-bit macros for 64-bit simulator
  Added 1.6.9 link to readme
  Updated podspec
  Fixed warnings resulting from dual building for arm64 and 32-bit #649
  Implemented option to ignore inline styles closes #649
  Added unit tests for #649
  further header to be repackaged for #656
  Added some repackaged headers from DTFoundation to frameworks
  ...

Conflicts:
	DTCoreText.xcodeproj/project.pbxproj
98fb035
@KraigWastlund KraigWastlund referenced this issue from a commit in cabosoft/DTCoreText
@KraigWastlund KraigWastlund Merge branch 'master' of https://github.com/cabosoft/DTCoreText
# By Oliver Drobnik (331) and others
# Via Oliver Drobnik (104) and others
* 'master' of https://github.com/cabosoft/DTCoreText: (404 commits)
  SkipInstall = Yes
  Migrate to the new 64 bit iOS 7 libraries
  Working on fixing 64-bit iOS 7 build issues
  Changed DTAttributedTextContentView to discard invalid CGContexts.
  fixed missing doc for param
  Updated podspec with different path for prepare_command
  removed individual change log links from readme
  Updated to DTFoundation 1.6.1
  should not have been part of this PR
  missing from the last commit
  added support for border-color,border-radius, border-width
  Perform unit tests on 6.1 sim
  Added syntax highlighting for code snippets in Programming Guide
  Added docs about working with remote images, added a link to Programming Guide in Readme
  also build with 64-bit macros for 64-bit simulator
  Added 1.6.9 link to readme
  Updated podspec
  Fixed warnings resulting from dual building for arm64 and 32-bit #649
  Implemented option to ignore inline styles closes #649
  Added unit tests for #649
  ...

Conflicts:
	Core/Source/DTTextAttachment.h
	Core/Source/DTTextAttachment.m
	Core/Source/NSAttributedString+DTCoreText.h
8a90c8c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.