adding straight up HTML to drupal 7

Josh Baldwin
Josh Baldwin used Ask the Experts™
on
I keep trying to add in the code below using full html and no filters are turn on. It needs to stay this way and works on my test page outside of drupal:

<div data-is data-is-access-token="123454626.abc.156162"></div>

but it keeps changing it to do this which is wrong:

<div data-is="" data-is-access-token="123454626.abc.156162"></div>

Can i just turn off all html correction? I don't need it.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Sure, create a new input type, something like raw HTML. Ensure no filters are set and then choose that in the editor. By the way, an empty attribute represents a boolean value of false as would data-is="". So the corrected HTML should also work, it is not "wrong" and it's always good to have some filtering otherwise you could break the entire page e.g. If you miss a closing div

Author

Commented:
Solid information. Once I knew the corrected HTML was also correct, i went looking elsewhere for the problem. Turns out one of my Javascript files was not named correctly. Working perfectly now. Thank you for the insight.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial