Skip to content
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

Improve sanitizing regexp #43

Merged
merged 1 commit into from
Jan 30, 2018
Merged

Conversation

ArthurHoaro
Copy link
Member

@ArthurHoaro ArthurHoaro commented Oct 7, 2017

  • less permissive comment trim to avoid stripping a LOT of content
  • link descriptions: match a Netscape tag to detect the end instead of any tag

Fixes shaarli/Shaarli#902

TODO:

  • unit tests

  - less permissive comment trim to avoid stripping a LOT of content
  - link descriptions: match a Netscape tag to detect the end instead of any tag

Fixes sharrli/Shaarli#902
@ArthurHoaro ArthurHoaro force-pushed the hotfix/sanatizing-improvements branch from 52d1608 to 59093c8 Compare November 18, 2017 12:16
@ArthurHoaro
Copy link
Member Author

Tested. I'd like to include this change in the next Shaarli release.

@ArthurHoaro ArthurHoaro merged commit ea6911a into master Jan 30, 2018
@ArthurHoaro ArthurHoaro deleted the hotfix/sanatizing-improvements branch January 30, 2018 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants