Skip to content

Commit

Permalink
Fix multiline scalars [#172]
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Jan 31, 2011
1 parent ff9eca4 commit f760e60
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -36,7 +36,7 @@ public class ForceMultilineLiteralOptions extends DumperOptions {
@Override
public DumperOptions.ScalarStyle calculateScalarStyle(final ScalarAnalysis analysis,
final DumperOptions.ScalarStyle style) {
if (analysis.multiline && analysis.allowBlock) {
if (analysis.multiline) {
return ScalarStyle.LITERAL;
}
return super.calculateScalarStyle(analysis, style);
Expand Down

0 comments on commit f760e60

Please sign in to comment.