diff --git a/test/fixtures/issue-180.yaml b/test/fixtures/issue-180.yaml new file mode 100644 index 00000000..32b30649 --- /dev/null +++ b/test/fixtures/issue-180.yaml @@ -0,0 +1,66 @@ +Text-aligment is stripped in restricted mode, but kept with images and such: + setup: + - setRestricted: true + input: | + p<. Left aligned paragraph. + + p>. Right aligned paragraph. + + p=. Center aligned paragraph. + + p<>. Justified paragraph. + + !<1.jpg! + + !>1.jpg! + + !=1.jpg! + + expect: | +
Left aligned paragraph.
+ +Right aligned paragraph.
+ +Center aligned paragraph.
+ +Justified paragraph.
+ + + + + + + +Aligment uses classes with HTML5: + setup: + - setRestricted: true + doctype: html5 + input: | + p<. Left aligned paragraph. + + p>. Right aligned paragraph. + + p=. Center aligned paragraph. + + p<>. Justified paragraph. + + !<1.jpg! + + !>1.jpg! + + !=1.jpg! + + expect: | +Left aligned paragraph.
+ +Right aligned paragraph.
+ +Center aligned paragraph.
+ +Justified paragraph.
+ + + + + +