This is roughly the same system as for preformatted blocks. Even though the spec implies that a line starting with ">" is a blockquote type line and should be a quote on its own, it is so frequently used as a block-like type that taking the spec literally causes rendering issues on many capsules. To be clear, we get blocks like this: > Lorem ipsum dolor sit amet, > consectetur adipiscing elit. > > Sed do eiusmod tempor incididunt > ut labore et dolore magna aliqua. where we should instead have something like: > Lorem ipsum dolor sit amet, consectetur adipiscing elit. > Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. To the people's defense, it is usual to quote a message using the first syntax. As this issue is minor and the spec is not very adamant on things here, I don't think there is much wrongdoing in treating the first syntax as the norm, but the code is open to changes!main
parent
9c0603cf67
commit
117c70100f
@ -1,9 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/text_view"
|
||||
<FrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/CometText"
|
||||
android:textStyle="italic"
|
||||
android:paddingStart="32dp"
|
||||
android:paddingEnd="16dp" />
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp">
|
||||
<TextView
|
||||
android:id="@+id/text_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
style="@style/CometText"
|
||||
android:background="@color/background_emph"
|
||||
android:textStyle="italic" />
|
||||
</FrameLayout>
|
||||
|
Loading…
Reference in new issue