Export to PDF and post processor seems not playing well

In preview mode, code blocks and plugins play well, but when export to PDF, code blocks somehow lost additional powers.

I’m trying to extend build-in prism.js with its official plugin, I think shouldn’t the other functionality work too If highlighting works?

After lots of test, I found something wired.

Let me explain this with an example.

The ‘Method 1’ disappeared!!!

I’m not sure if it is a bug, anyone get some clues to handle this?