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

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

I have a scenario that checks if a web form processes each parameter correctly 
by entering the string, clicking a link and checking if the result is the same 
string, e.g.

{quote}
Scenario: test path encoding

Given user is on Home page

!-- dangerous chars

When user enters "<" and clicks link
Then result "<" shown

When user enters ">" and clicks link
Then result ">" shown

!-- empty string
When user enters "" and clicks link
Then result "" shown
{quote}



                
> 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