Details
Description
In JBehave Core 3.0.3 all leading and trailing spaces are removed from example table cells.
For example, when accessed through the ExamplesTable API (the following table
| |A | B | C| | |X | Y | Z|
becomes
||A|B|C| ||X|Y|Z|
Leading/trailing spaces were not removed for JBehave Core versions older than 3.0.3. So, it might be a regression cause when this http://jira.codehaus.org/browse/JBEHAVE-353 was fixed.
At least for me it would be nice to be able to use example tables containing cells with leading/trailing spaces.
Activity
 Mauro Talevi
 made changes  -
 Mauro Talevi
 made changes  - 
        | Field | Original Value | New Value | 
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] | 
| Resolution | Fixed [ 1 ] | 
 Mauro Talevi
 made changes  -
 Mauro Talevi
 made changes  - 
        | Assignee | Mauro Talevi [ maurotalevi ] | |
| Fix Version/s | 3.1 [ 16511 ] | 
 Mauro Talevi
 made changes  -
 Mauro Talevi
 made changes  - 
        | Summary | Leading and trailing spaces in example table cells are removed | Allow leading and trailing spaces to be preserved in example table cells | 
| Issue Type | Bug [ 1 ] | Improvement [ 4 ] | 

 Improvement
 Improvement
             Resolved
 Resolved
             Minor
 Minor
                

Frank, what's the use case for keeping the spaces?