Posted by guusbosman on January 16, 2011 at 6:09pm
2 followers
Jump to:
| Project: | Nodewords: D6 Meta Tags |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
The custom regular expression for the generation source of metatags-description is not executed when the generation source is "Generate the token from the node body".
Also, the regular expression is executed only after all the HTML tags have been stripped, making it impossible to clean up items based on CSS class name etc.
Attached is a patch.
Note that the problem with when the regular expression runs still exists for "Generate the token from teaser" in this diff. I believe the regular expression match should be moved before the tag stripping in the other part of the logic as well but wanted to keep the diff small.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| nodewords.patch | 888 bytes | Ignored: Check issue status. | None | None |
Comments
#1
This belongs to v2.