HumanSignal / HumanSignal/label-studio
Labeling Instructions are being displayed as raw HTML in Label Studio Enterprise
- Dominant language
- TypeScript
- Stars
- 28.3k
- Forks
- 3.7k
- Avg merge
- 14h
- Merged PRs (30d)
- 15
Description
**Describe the bug**
In Label Studio Enterprise, the Labeling Instructions load properly as rendered HTML when displayed prior to annotating, but when clicking the `i` to show the instructions once in the labeling interface, it just shows the raw html.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to a task for labeling in Label Studio Enterprise.
2. Click on the `i` in the bottom of pane.
3. See error
**Expected behavior**
Rendered HTML instructions.
**Screenshots**
This is what the instructions look like when initially displayed at the start of annotation (and how we would expect them to look when the `i` is clicked to show the instructions):

This is what the instructions look like when the `i` is clicked:

**Environment (please complete the following information):**
- OS: MacOS
- Label Studio Enterprise
**Additional context**
These are the HTML instructions that we set in the Annotations tab of the project settings.
```
table {
font-family: arial, sans-serif;
width: 100%;
border-collapse: collapse;
}
td, th {
border: 1px solid #dddddd;
text-align: center;
padding: 8px;
}
Please read through the eConsult dialogue and evaluate the clinical quality of the specialist responses using the eSQUARE scale. At the bottom, please select as many tags as are relevant.
Grading Scale
Blank
1
2
3
4
5
N/A
Not At All
Acceptable
Exemplary
```
Contributor guide
Assessment
This issue has not been assessed yet.