fix HTML syntax and avoid some CKEditor limitations in example.Rhtml; si...

...mplify reg expr for adding contenteditable attribute in snap.R