Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special characters in notes not properly handled #923

Open
Bilelkihal opened this issue Jan 27, 2025 · 3 comments
Open

Special characters in notes not properly handled #923

Bilelkihal opened this issue Jan 27, 2025 · 3 comments
Assignees

Comments

@Bilelkihal
Copy link
Collaborator

It seems that special characters in notes are not being handled properly. For example, I typed the following note:
<rdfs:comment xml:lang="λp">
it is controlled by isc-nirscan software under windows os (usb connection) or with an app (ios and adroid, using bluetooth connection). nir measurements will be collected directly, taking a portion of the sample and placing into the cuvette in the spectral range of 900–1700 nm, by accumulating 10 internal scans.">NIR spectra will be collected using a portable NIR spectrometer in the range [900nm, 1700nm]. The sensor NIRvascan ASP-NIR-M T (Allied Scientific Pro) sensor, employs a 1 mm InGaAs datector (Hamamatsu model G12180-010A) Dark Current 0.8nA @vr=1V Noise Equivalent Power 1.4*10-14
</rdfs:comment>

However, after saving, the content is displayed incorrectly as follows:
it is controlled by isc-nirscan software under windows os (usb connection) or with an app (ios and adroid, using bluetooth connection). nir measurements will be collected directly, taking a portion of the sample and placing into the cuvette in the spectral range of 900–1700 nm, by accumulating 10 internal scans.">NIR spectra will be collected using a portable NIR spectrometer in the range [900nm, 1700nm]. The sensor NIRvascan ASP-NIR-M T (Allied Scientific Pro) sensor, employs a 1 mm InGaAs datector (Hamamatsu model G12180-010A) Dark Current 0.8nA @vr=1V Noise Equivalent Power 1.4*10-14

Image

@Bilelkihal Bilelkihal self-assigned this Jan 27, 2025
@syphax-bouazzouni
Copy link
Collaborator

@Bilelkihal didn't see here the issue, can you point to only the text part that was not well printed in you example.

@Bilelkihal
Copy link
Collaborator Author

THe <rdfs:comment xml:lang="λp">

@syphax-bouazzouni
Copy link
Collaborator

syphax-bouazzouni commented Jan 31, 2025

In the API we do save the value correctly. So the sanitization most be done somewhere in the UI.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants