inlines.js: Implemented stack-based emph parsing.