Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Added basic text enhancer. #162

Merged

Conversation

MdNadimHossain
Copy link
Contributor

@MdNadimHossain MdNadimHossain commented Dec 3, 2021

JIRA

https://digital-engagement.atlassian.net/browse/SDPA-5895
Parent ticket - https://digital-engagement.atlassian.net/browse/SDPA-5756

Changes

Added an enhancer for basic text, which will check the pasted content from the user and strip out any unicode uneven spacing character before sending it through JSON API.

Content-vic test branch -
https://github.com/dpc-sdp/content-vic-gov-au/pull/1302

Copy link
Contributor

@vincent-gao vincent-gao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MdNadimHossain , could you please add phpunit tests into it.

@@ -34,5 +34,6 @@
#
# Uncomment and set the Dev-Tools's commit value and commit this change.
# export GH_COMMIT=COMMIT_SHA
export GH_COMMIT=a93e9347eaedfebe31970929c16d4d8b17daee3b
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs to be removed once the dev-tools get a release with this changes - dpc-sdp/dev-tools#71

@vincent-gao
Copy link
Contributor

Thanks @MdNadimHossain for the change. LGTM

@edyuenyw edyuenyw merged commit 6d88ce7 into develop Feb 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants