Author Options:

Editing an Instructable will not display Answered

1. What Operating system the device you are using, if its a computer, that would be linux, windows or mac (or freebsd etc) for mobile it would be android, iOS, windows mobile. Please also include the version number.
Ubuntu Mate 17.04 and Windows 7, all operating systems

2. Browser information including version number, if you're using the mobile app include app version number
Linux Chrome Version 58.0.3029.81 (64-bit)

3. Include what project or url you were looking at when the error occurred

4. Screen shots of what happened if available  After saving only middle 4 lines are saved.
<Directory "/var/www">
                AuthType Basic
                AuthName "Restricted Content"
                AuthUserFile /etc/apache2/.htpasswd
                Require valid-user

5. steps to reproduce, this will be one of the most important pieces of information as it will enable us to do the same thing and find a fix.
See number 4


The forums are retiring in 2021 and are now closed for new topics and comments.

3 years ago

Topic subject had <Directory "/var/www"> in it, that disapeared too.


Reply 3 years ago

More than likely, the Instructables editor thinks that particular content is HTML code and is "sanitizing" it before displaying it (to prevent a number of security problems). You can work around it by highlighting the text in the Instructables editor, clicking the icon on the far left that looks like a "paragraph" symbol, and clicking "code" from the drop-down menu. This will cause that content to appear as-is, with formatting intact, and without sanitizing away the bits that look like HTML tags.