Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hmm, I can't replicate this on my Mac running 10.9.

    printf '<!DOCTYPE HTML><html><head></head><body>' > test.txt
Opening test.txt shows the exact code I printed. Am I missing something?


the preferences allow you to set wether html is parsed or displayed as is. Perhaps it's due to that ?


Yep, was was it. I forgot I set that.

Some odd things are going on here though. The file is listed as “locked” when I open it, and if as TextEdit to unlock it, it fixes the file extension.


He said it was patched in 2020


And 10.9 was last updated in 2016. :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: