And a follow up response to the question/query:
As
of now, we have applied some pattern matching regular expressions to
match and replace some characters like ;nspb with Spaces and line
breaks. But this doesn’t work well where we don’t have anything to
match. So how to tackle this? Is there any way so we don’t strip the
html tags while generating the XML ?
In the Moodle Oppia export block it specifically strips out the html. So to change this (and not strip out the html) you'd need to update the export block code, so that in the oppia_export_block/lib.php in the extractLangs function, it doesn't use the strip_tags function in line 71.
Updating the export block alone wouldn't then mean that the html is properly rendered in the app though, it;s very likely to display the html tags in the question 'as-is' without interpreting them. This is why the question control field in the app would need to be updated/changed to one that actually rendered html formated strings as expected.
Cheers,
Alex
On Thursday, September 17, 2015 at 6:14:37 PM UTC+3, f.lewis wrote: