roam-highlighter icon indicating copy to clipboard operation
roam-highlighter copied to clipboard

Highlight generation mistakes

Open ccpalmer opened this issue 5 years ago • 3 comments

Here's what I highlighted:

Screen Shot 2020-07-24 at 2 56 06 PM

and here's what was captured by the highlighter:

- <h2>1. Classical vs Quantum Bits ||h3||1.1 Statevectors In quantum physics we use __statevectors__ to describe the state of our system. Say we wanted to describe the position of a car along a track, this is a classical system so we could use a number 𝑥 x x :</h2>

Note the ||h3|| and the three 'x's near the end.

ccpalmer avatar Jul 24 '20 18:07 ccpalmer

@ccpalmer can you provide the website link to get to this page?

GitMurf avatar Aug 08 '20 15:08 GitMurf

@ccpalmer can you please provide a link? I would like to troubleshoot myself but need to be able to test the exact page. Thanks!

GitMurf avatar Oct 22 '20 06:10 GitMurf

@ccpalmer I was able to find the website via googling some of the text. I believe it is this one? https://qiskit.org/textbook/ch-states/representing-qubit-states.html

For your first issue, I am not having those problems. It copies as <h2> and <h3> as expected. I tried it two different ways of highlighting it as well. See GIF.

oa1qgrPtgA

As for your second issue with the "3 x's"... that is actually how the website has it stored in the HTML. See the screenshot below. Unfortunately that will be pretty hard to work logic in to handle that. I have NEVER seen it "this bad" with regards to weird HTML so this is definitely a corner case unfortunately.

image

GitMurf avatar Oct 22 '20 06:10 GitMurf