Closed mjakeman closed 2 years ago
An update on the status of this issue.
web-refactor
branch (needs a rebase).As of PR https://github.com/mjakeman/text-engine/pull/3, my rich text component now supports enough of HTML to display comments from extensions.gnome.org. Comments and reviews will therefore be part of the 0.3 release :partying_face:.
As a quick demonstration, the following messy HTML snippet:
<p>There was an Old Man with a beard\nWho said, "It is just as I feared!</p><p> > Two Owls and a Hen,<br> > Four Larks and a Wren,</p><p>Have all built their nests in my beard!"</p>
Is successfully rendered as follows, with support for wrap-around if necessary.
Work-in-progress support for comments:
The user should be able to view comments and extension ratings as part of the search results.
Displaying the comments will be quite tricky. We need a way to either render HTML or (ideally) convert it to Pango markup.
Investigate whether there is a way to display simple HTML markup without using webkit.