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
Read more adds a single space that breaks the text #20
Comments
Edit directive and delete \n between \n span ng-show="vm.showMoreText" class="more-show-hide" ng-bind-html="vm.moreText" style="white-space:pre-wrap;" /span |
Can you please make an pull request? |
Any updates on this? I'm seeing the same issue... |
bgsavage
pushed a commit
to bgsavage/angular-read-more
that referenced
this issue
Jun 8, 2016
…ich adds an extra space when "more lands on a word" Added gulp-frep because my gulp was adding \r\n wherever \n was present - not sure if it should be doing this?
Hi - I've made a pull request for a fix to this issue. |
ismarslomic
pushed a commit
that referenced
this issue
May 17, 2017
Solved in 4660d51 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the limit falls on a non-empty space, cutting off a word in the middle, the 'show more' will add a single space to the word after its clicked. In the demo you have here change the limit to 198 instead of 200. The '...' will appear on the last two letters of the word "mauris". Once you click show more, the word will be displayed like this "mauri s".
The text was updated successfully, but these errors were encountered: