Index: trunk/phase3/includes/api/ApiFormatYaml_spyc.php |
— | — | @@ -203,7 +203,7 @@ |
204 | 204 | */ |
205 | 205 | private function _doLiteralBlock($value,$indent) { |
206 | 206 | $exploded = explode("\n",$value); |
207 | | - $newValue = '|'; |
| 207 | + $newValue = '|-'; |
208 | 208 | $indent += $this->_dumpIndent; |
209 | 209 | $spaces = str_repeat(' ',$indent); |
210 | 210 | foreach ($exploded as $line) { |
— | — | @@ -227,7 +227,7 @@ |
228 | 228 | $indent += $this->_dumpIndent; |
229 | 229 | $indent = str_repeat(' ',$indent); |
230 | 230 | $wrapped = wordwrap($value,$this->_dumpWordWrap,"\n$indent"); |
231 | | - $value = ">\n".$indent.$wrapped; |
| 231 | + $value = ">-\n".$indent.$wrapped; |
232 | 232 | } |
233 | 233 | return $value; |
234 | 234 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -757,6 +757,7 @@ |
758 | 758 | * (bug 21817) list=usercontribs returns empty result for empty ucuser |
759 | 759 | * (bug 21441) meta=userinfo&uiprop=options no longer returns default options |
760 | 760 | for logged-in users under certain circumstances |
| 761 | +* (bug 21945) Add chomp control in YAML |
761 | 762 | |
762 | 763 | === Languages updated in 1.16 === |
763 | 764 | |