Baptiste Mathus edited a comment on Improvement MBUILDHELPER-34

For the record, I tried to somehow support the spaces replacement.
In the end, it should be working now, but I find this is kind of ugly.
See for reference this commit: https://fisheye.codehaus.org/changelog/mojo?cs=18073

The example given in the patch doesn't check for the output.
Using & nbsp; seems to work but actually doesn't. As we could expect, this is asking for an unbreakable space, which is not the same as a normal space.

As I took the assumption that people would more often put unbreakable spaces as a workaround to being able to specify a precise amount of space, I added a replace that will replace unbreakable with normal spaces by default.
I also added an optional param (please refer to the doc or to the code between now and the next release) that defaults to true. It will let people who want to use unbreakable space to do what they want to.

Hope this solution will make everyone happy.

Cheers

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to