+
+
+struct textreplace
+{
+ wxChar *text;
+ int text_length;
+ wxChar *replace;
+ int replace_length;
+};
+
+#define tr(x,y) {x, sizeof(x)-1, y, sizeof(y)-1}
+
+static textreplace notverb_array[] =
+{
+ tr(_T("\r\n\r\n"), _T("<P>\n\n")), // unix
+ tr(_T("\n\n"), _T("<P>\n\n")), // dos
+ tr(_T("\r\r"), _T("<P>\n\n")), // mac
+ tr(_T("``"), _T("“")),
+ tr(_T("''"), _T("”")),
+ tr(_T("`"), _T("‘")),
+ tr(_T("'"), _T("’")),
+ tr(_T("---"), _T("—")),
+ tr(_T("--"), _T("–")),
+};
+
+#undef tr
+