tealtan/gloss-server — pull request #1 by louije (2013-11-07 16:36:02+00:00)
Title: Handling of titles (Mr., Mrs., Dr., M., etc.) for the bookmarklet.

A little rework of the sentence matching regexp to catch Mr. and Mrs. Title. It works by replacing the whitespace after those occurrences with the HTML non-breaking space entity.

A pen with live testing is available here: http://codepen.io/louije/pen/kvFea.