fix #303
This commit is contained in:
parent
fb06bb4bb1
commit
cfab4f6369
@ -12,7 +12,7 @@ describe('Quoted', function() {
|
|||||||
it('should produce normal output', function() {
|
it('should produce normal output', function() {
|
||||||
var f = new tree.Quoted("Tom's & \"<quoted>\"");
|
var f = new tree.Quoted("Tom's & \"<quoted>\"");
|
||||||
assert.ok(f);
|
assert.ok(f);
|
||||||
assert.equal(f.toString(), "Tom's & \"<quoted>\"");
|
assert.equal(f.toString(), "Tom's & \"<quoted>\"");
|
||||||
});
|
});
|
||||||
it('should produce xml-friendly output', function() {
|
it('should produce xml-friendly output', function() {
|
||||||
var f = new tree.Quoted("Tom's & \"<quoted>\"");
|
var f = new tree.Quoted("Tom's & \"<quoted>\"");
|
||||||
|
4
test/rendering-mss/issue_303.mss
Normal file
4
test/rendering-mss/issue_303.mss
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#layer["Hello&Goodbye"="yes"] {
|
||||||
|
text-name: [name];
|
||||||
|
text-face-name: "El&Font Bubble Regular";
|
||||||
|
}
|
6
test/rendering-mss/issue_303.xml
Normal file
6
test/rendering-mss/issue_303.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<Style name="style" filter-mode="first">
|
||||||
|
<Rule>
|
||||||
|
<Filter>([Hello&Goodbye] = 'yes')</Filter>
|
||||||
|
<TextSymbolizer face-name="El&Font Bubble Regular" ><![CDATA[[name]]]></TextSymbolizer>
|
||||||
|
</Rule>
|
||||||
|
</Style>
|
6
test/rendering-mss/zoom-like-field-name.xml
Normal file
6
test/rendering-mss/zoom-like-field-name.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<Style name="style" filter-mode="first">
|
||||||
|
<Rule>
|
||||||
|
<Filter>([zoomy] > 2)</Filter>
|
||||||
|
<PolygonSymbolizer fill="#ff0000" />
|
||||||
|
</Rule>
|
||||||
|
</Style>
|
Loading…
Reference in New Issue
Block a user