With the DCHAS archives up and running again, I’ve been following up on some other sections that needed updating on our site after our server migration to the cloud.
While it was previously programmed to avoid overwriting HTML anchor tags, I realized it needed a much broader scope of protection. So now, when it detects there are HTML tags in the pasted text, it protects a wide range of things that shouldn’t be touched:
- All HTML head content (<head...> and </head>).
- HTML comments (<-- and -->)
- Javascript or other scripts (<script...> and </script>)
- Noscript tags (<noscript...> and </noscript>)
- Internal CSS style declarations (<style...> and </style>)
- HTML navigation elements (<nav...> and </nav>)
- HTML buttons (<button...> and </button>)
- HTML select lists (and options) (<select...> and </select>)
- HTML anchors (<a...> and </a>)
- Image tags (<img...>)
- HTML element id tags (id="...")
2. I had this old fun diversion on my site - a safety take on Mad-LIbs™, that used to run on a server-side script but became inoperable when we migrated to the cloud. I changed it to run on the client side and gave it a nice coat of slick CSS styling as well as new improved icons. Have fun creating your own Unsafe Safety Data Sheets:
https://www.ilpi.com/fun/msds/index.html
I am continuing to work on some other overdue content updates. News on that next week.
Have a great weekend everyone!
Rob Toreki
LabLocks™ - The first device that can lock out standard laboratory ball valves: https://www.safetyemporium.com/07400
US-Made NIOSH and FDA-approved N95 respirators: https://www.safetyemporium.com/safety-items/respirators/
Safety Emporium - Laboratory and Safety Supplies https://www.SafetyEmporium.comesales**At_Symbol_Here**safetyemporium.com or toll-free: (866) 326-5412Fax: (856) 553-6154, PO Box 1003, Blackwood, NJ 08012