-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#6193: IHtmlFilter and TokenFilter improvements and bugfixes #6938
Conversation
This changeset unifies the two separate TokenFilter implementations (one for BodyPart, TextField, etc and another one for certain elements such as Html). It also fixes a bug with the TokenFilter when executing for HtmlWidget, where the wrong content item is being recorded by the handler (the original implementation). Thirdly, it removes awkward code repetition by moving filter execution into a dedicated HtmlFilterRunner service.
This also includes @jtkech 's work on fixing an encoding issue and execution order of the TokenFilter. |
using Orchard.Core.Feeds; | ||
using Orchard.Tags.Services; | ||
using Orchard.Localization; | ||
using System.Web.Routing; | ||
using Orchard.Environment.Extensions; | ||
|
||
namespace Orchard.Tags.Feeds { | ||
namespace Orchard.Tags.Feeds | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is that ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in d95f812
Minus the comments it looks good. |
Does this one only waiting for a name and a curly brace rule correction? Best. |
@sebastienros tested, good to go! |
This changeset unifies the two separate TokenFilter implementations (one for BodyPart, TextField, etc and another one for certain elements such as Html).
It also fixes a bug with the TokenFilter when executing for HtmlWidget, where the wrong content item is being recorded by the handler (the original implementation).
Thirdly, it removes awkward code repetition by moving filter execution into a dedicated HtmlFilterRunner service.
Fixes #6193