New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add <em> to description markup #184
Comments
|
In the original specification this was deliberately left out to avoid upstreams just wrapping all the content in |
|
Yeah, I must say I hate a wall of text with some fat-printed words - using bullet points for a list of key features that people want to highlight seems like a much better idea. |
|
UTF-8 is supported in every client that's currently parsing AppStream; to add a new XML tag is going to break validation (and possibly parsing!) on any older clients. Put bluntly: it's just not backwards compatible. |
|
The docs say "Do not assume the format is HTML. Only paragraph (p), ordered list (ol) and unordered list (ul) are supported at this time." which is surely to say that a parser implementation needs to be forward compatible by disqualifying unknown tags? |
|
What should an old parser do with: I know the description format is restrictive. It's deliberately restrictive, just like the file format of the icons, the aspect ratio of the screenshots and the text in the release notes. We designed it that way to have a cohesive software center where all apps follow the same visual style. The alternative is we let applications provide an HTML page with all their own styles, fonts, images, animations, and then we're in MySpace. |
|
I am not arguing against the restrictiveness or anything. All I am saying is that a) the current documentation is either misleading or deliberately leaving wiggleroom So considering a) either someone thought about this, or the 'at this time' ought to be dropped. |
|
@hughsie I do agree with @apachelogger on this one - new style descriptions won't validate with older AppStream versions and confuse older parsers, but that shouldn't stop us from adding them - otherwise we fall into a trap where we can not have the AppStream specification progress. That said, if I add the |
|
AppStream now supports |

Some upstreams would like to write a description with multiple paragraphs highlighting the key features instead of a simple feature list. To empahsis the features in the pargraphs it would be lovely if an
<em>tag could be added to the supported markup for appdata descriptions.e.g.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut nec highly-performant neque, a tempor enim. Sed at lacinia risus. Aliquam erat volutpat. Sed volutpat, lacus eu eleifend efficitur, purus nunc mattis ex, ut consequat leo turpis a orci. Donec tincidunt malesuada ultrices. Integer a commodo libero, eget feugiat nibh. Cras non dui varius, egestas nibh in, gravida odio. Praesent ultrices risus nec diam molestie fermentum. Suspendisse a condimentum elit. Suspendisse semper purus eget molestie rhoncus.
Praesent beautiful leo elementum sem mollis semper. Nunc convallis in quam at auctor. Aenean nec sagittis sem. Aenean egestas pharetra est rhoncus condimentum. Donec varius commodo libero quis vestibulum. Curabitur eget accumsan lectus. Maecenas sit amet nulla vestibulum, rutrum risus sit amet, placerat massa. Etiam facilisis, lectus in finibus auctor, erat arcu tristique massa, id tincidunt massa nunc vel tellus. Sed ac ultricies velit, dapibus tincidunt velit. Nullam tempor lorem in tellus sollicitudin, eu luctus neque auctor. Vestibulum interdum aliquam porttitor. Praesent urna arcu, cursus et purus posuere, maximus pellentesque lorem.
Duis rhoncus ligula rocketship, et pharetra diam ornare in. Quisque rhoncus, lorem non lacinia viverra, lorem arcu volutpat leo, ut ultrices magna nulla at ex. Maecenas pellentesque malesuada libero, vel semper eros cursus et. Proin vel luctus neque. Maecenas gravida elit a ex tincidunt, pulvinar rutrum quam ultrices. In ac nulla est. Suspendisse convallis augue in magna egestas, laoreet egestas nibh aliquam. Vestibulum consequat, nulla vel euismod egestas, eros turpis porta ligula, eu porta purus odio in risus. Suspendisse id orci in neque consequat venenatis. Duis et diam sit amet sem egestas tincidunt interdum vitae ipsum. Nulla sed quam nec orci luctus pretium.
The text was updated successfully, but these errors were encountered: