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

I'm happy to see many other XPath fans here.

But as far as the OP, this seems like a case of worrying about the code instead of the data structure. This would be easier to address before the lines are transformed into HTML. Which I assume is not how they are stored.



Actually, they are! We host many document types on RG, not just song lyrics, so the “lyrics” field of a song is just a specific case of the general “body” field of a text. And texts can definitely have rich formatting via HTML markup.




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

Search: