fisharebest/webtrees — pull request #157 by ddrury (2014-06-15 19:28:53+00:00)
Title: Proposal for the reintatement of shared note title display

I submit this as a suggestion as a way to reinstate the addition of a 'title' to the Shared Notes display. If the note is formatted by the Census assistant then things are straightforward, If not then I propose a copy of the note text (stripped down to only letter, numbers & whitespace) is made, the 1st line (or a proportion of it) is then extracted from the copy to be used as the title. This leaves the original note contents untouched for when the display option is expanded.

The uniqid line has been changed because believe it or not on my windows system I was getting duplicate ids generated when I had two adjacent facts both with notes!