Closed (fixed)
Project:
htmLawed
Version:
6.x-2.7
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2009 at 14:08 UTC
Updated:
11 Dec 2009 at 17:23 UTC
Hello,
I am trying to figure out a way to strip out all the tags that are added by pasting from word document (I know the wysiwyg has the "paste from word" option but I am sure not all users behave smart and should be treated as idiots). I tried adding those tags (eg. font-size) to 'deny_attribute'=> in default-->body-->config but it didn't do the trick. Am I in the right direction , all I totally misunderstood the process?
Comments
Comment #1
pianomansam commentedcharos, deny_attributes applied to attributes of a tag, not the tag itself. Depending on how you have your config, if you are using "*" to show all tags, you can use "-" to remove individual tags. See here in the htmLawed documentation: http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/htmLawed_README.htm#s3.3
Comment #2
charos commentedThanks for the clarification !