[ 
https://jira.codehaus.org/browse/JBEHAVE-656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=286144#comment-286144
 ] 

Alexander Lehmann commented on JBEHAVE-656:
-------------------------------------------

https://github.com/alexlehm/jbehave-core/commit/44e79daa15ca4e936a13727be410db63ac9129d4

JBEHAVE-656: HTML decoration for parameter empty string puts a span between 
each char in the line

Do not mark empty string as parameter (doesn't make sense since replace will 
put a marker between every char)


                
> HTML decoration for parameter empty string puts a span between each char in 
> the line
> ------------------------------------------------------------------------------------
>
>                 Key: JBEHAVE-656
>                 URL: https://jira.codehaus.org/browse/JBEHAVE-656
>             Project: JBehave
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.5.4
>            Reporter: Alexander Lehmann
>            Priority: Minor
>         Attachments: playpath - Mozilla Firefox_2011-12-10_00-11-21.png
>
>
> When using a story step that has an empty parameter, when decoration the html 
> output of the story, a span is put between each character, probably since a 
> substring match or regex matches everywhere. This makes the text look kind of 
> odd since the spacing between the char changes. If the parameter is empty, 
> the coloring could just be skipped.
> {quote}
> When user enters "" and clicks link
> Then result "" shown
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
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