fisharebest/webtrees — pull request #23 by ddrury (2013-11-01 19:08:06+00:00)
Title: Bug #1222698 fix and other note styling fixes

Greg, I sent you an email with a few questions about this. I've adopted the simple approach here.

Shifted note styles from GEDFact_assistant/css/cens_style.css to the themes as they are required in a number of places. Also recoded function print_note_record() to remove need for a < br > in the note text to act as a marker for when the header line is to be turned into a link (allows consistency of display), fixed potential logic error that permitted a call to getNote() with a null record, and replaced "\n" chars with "< br >" for notes that were created outside the census assistant - this identified that the regex in function formatCensusNote() was leaving leading/trailing "\n" chars for preamble, postamble & data sections. Fixed by the simple expedient of trimming them!