{
dosingType: "org.openmrs.FreeTextDosingInstructions",
instructions: {
text: "One tablet by mouth as soon as possible within 72 hours of unprotected sexual intercourse or suspected contraceptive failure"
}
}
The JSON templates got cropped without the ability to horizontally scroll them or the table. Fortunately, when hovering over the second table, the spiffy new “Expand Table” button appeared. Unfortunately, when I clicked on the button to expand the second table, it showed an expanded view of the first table. So, I’ve copied the tables into a post here to see if I can recreate the problem on meta.
Sure enough. It looks like the same bug is happening here. Perhaps the problem is because the first table is done with markdown and the second table is done using HTML (in order to embed JSON with syntax highlighting).
We are doing a naive query selector here, so it is always picking the first table in the post. Instead it should search for the first table after the button that was clicked.
We will get this sorted some time in the next month, thanks for raising.