HTML in markdown (extra) file throws error

Please check out this post and see if it helps: Error: Class 'DOMDocument' not found