Translating Rise courses - HTML coding issue (nested ctype)
The issue is that our courses when we export the xliff and open in a TMS, has this within the HTML coding: nested duplicate/triplicate ctype attribute value ="x-html-STRONG" with g tags.
This may appear as:
<strong>
<strong>
<strong>
We have a parser/filter for tagging the first instance of g tags, but for the nested examples we can't seem to find a way to tag all instances other than manually going through.
Is there any solution to this i.e. a regex that I can use?
Or is there a way to stop this being added in the modules? From what we can see we are unclear as to why this happens in the code from looking at the Rise module.
As an example we have used this, however it doesn't grab all the examples and we have to use XPATH too:
(<g id="(.*?)" ctype="x-html-STRONG">){2,5}(.+?)(</g>){2,5}
I'm sure there is a way this could all be done in MemoQ with the right setup.