am 6594eca0: am 9704b563: Merge "Fix for 7301594 Html.toHtml creating potentially invalid html" into jb-mr1-dev

* commit '6594eca0a9d9e9e0b429f950a673fa1820d43813':
  Fix for 7301594 Html.toHtml creating potentially invalid html
This commit is contained in:
Raph Levien
2012-10-08 12:46:03 -07:00
committed by Android Git Automerger

View File

@@ -221,10 +221,10 @@ public class Html {
false /* no info */);
switch(paraDir) {
case Layout.DIR_RIGHT_TO_LEFT:
return "<p dir=rtl>";
return "<p dir=\"rtl\">";
case Layout.DIR_LEFT_TO_RIGHT:
default:
return "<p dir=ltr>";
return "<p dir=\"ltr\">";
}
}