Skip to content

[#7729] Text tokens enhancements#7730

Merged
sebastienros merged 4 commits intoOrchardCMS:1.10.xfrom
LaserSrl:feature/7729_TextTokenEnhancement
Jun 22, 2017
Merged

[#7729] Text tokens enhancements#7730
sebastienros merged 4 commits intoOrchardCMS:1.10.xfrom
LaserSrl:feature/7729_TextTokenEnhancement

Conversation

@HermesSbicego-Laser
Copy link
Copy Markdown
Contributor

  • Adds the "TrimStart:" text token
  • Adds the ability to chain text to "Limit:", "TrimEnd:", "Format:" and "TrimStart:" tokens

- Adds the "TrimStart:" text token
- Adds the ability to chain text to "Limit:", "TrimEnd:", "Format:" and "TrimStart:" tokens
- Adds the "TrimStart:" text token
- Adds the ability to chain text to "Limit:", "TrimEnd:", "Format:" and "TrimStart:" tokens
…29_TextTokenEnhancement

# Conflicts:
#	src/Orchard.Web/Modules/Orchard.Tokens/Providers/TextTokens.cs
@sebastienros
Copy link
Copy Markdown
Member

No tests were altered, just new ones, sounds good.

And looking at this code I am happy we have chosen to use a template library in OC instead.

@sebastienros sebastienros merged commit 044f079 into OrchardCMS:1.10.x Jun 22, 2017
@HermesSbicego-Laser
Copy link
Copy Markdown
Contributor Author

Yes, chaining tokens with paramters are not so easy to write, neither intuitive. Wich template library has been adopted in OC? Could be adopted in O1 too?

@HermesSbicego-Laser HermesSbicego-Laser deleted the feature/7729_TextTokenEnhancement branch January 24, 2018 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants