# Remote dataset strips html tags

**URL:** <https://community.xibo.org.uk/t/remote-dataset-strips-html-tags/16129>\
**Category:** Get Help\
**Created:** [October 12, 2018, 4:34pm UTC](https://community.xibo.org.uk/t/remote-dataset-strips-html-tags/16129 "2018-10-12T16:34:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BelderProjects](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/belderprojects/32/6082_2.png) [@BelderProjects](https://community.xibo.org.uk/u/BelderProjects)\
**Post date:** [October 12, 2018, 4:34pm UTC](https://community.xibo.org.uk/t/remote-dataset-strips-html-tags/16129/1 "2018-10-12T16:34:51Z")

</div>

In my remote json I have a field with html, but when xibo fill the dataset it strips all html tags.  
How can I avoid this?  
Thanks

---

<div class="post-metadata">

**Author:** ![BelderProjects](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/belderprojects/32/6082_2.png) [@BelderProjects](https://community.xibo.org.uk/u/BelderProjects)\
**Post date:** [October 12, 2018, 5:19pm UTC](https://community.xibo.org.uk/t/remote-dataset-strips-html-tags/16129/2 "2018-10-12T17:19:26Z")

</div>

Umh, I think it’s not possible.  
I have solved the problem by adding an ‘Html’ type (id 6) in the datatype table and the following code in DataSetFactory.php (approximately after line 654):

```
                    // HTML. Warning! No sanitization!
                    case 6:
                        $result[$column->heading] = $value[1];
                        break;
```

---

<div class="post-metadata">

**Author:** ![system](https://community.xibo.org.uk/uploads/default/original/2X/a/a8759c2d8cc561474733895ac75beeb830f5d8ca.png) [@system](https://community.xibo.org.uk/u/system)\
**Post date:** [March 4, 2020, 5:12pm UTC](https://community.xibo.org.uk/t/remote-dataset-strips-html-tags/16129/3 "2020-03-04T17:12:22Z")

</div>

Closed on March 4, 2020, 5:12pm UTC


