Rev 13771 | Rev 14712 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13771 | Rev 13783 | ||
---|---|---|---|
Line 794... | Line 794... | ||
794 | { |
794 | { |
795 | /* singlespace(p); strip_trailing_spaces(p); return find_word_start(p); */ |
795 | /* singlespace(p); strip_trailing_spaces(p); return find_word_start(p); */ |
796 | nospace(p); return p; |
796 | nospace(p); return p; |
797 | } |
797 | } |
798 | 798 | ||
- | 799 | #pragma GCC diagnostic push |
|
- | 800 | #pragma GCC diagnostic ignored "-Winvalid-source-encoding" |
|
799 | char *htmlsymbs[][2]={ |
801 | char *htmlsymbs[][2]={ |
800 | {"",""}, |
802 | {"",""}, |
801 | {"à","à"}, |
803 | {"à","à"}, |
802 | {"À","À"}, |
804 | {"À","À"}, |
803 | {"á","á"}, |
805 | {"á","á"}, |
Line 855... | Line 857... | ||
855 | {"ý","ý"}, |
857 | {"ý","ý"}, |
856 | {"Ý","Ý"}, |
858 | {"Ý","Ý"}, |
857 | {"ß","ß"}, |
859 | {"ß","ß"}, |
858 | {"«","«"}, |
860 | {"«","«"}, |
859 | {"»","»"}, |
861 | {"»","»"}, |
860 | {"‹"," |
862 | {"‹","\'"}, |
861 | {"›"," |
863 | {"›","\'"}, |
862 | {"‘"," |
864 | {"‘","\'"}, |
863 | {"’"," |
865 | {"’","\'"}, |
864 | {"“"," |
866 | {"“","\""}, |
865 | {"”"," |
867 | {"”","\""}, |
866 | {"&","&"}, |
868 | {"&","&"}, |
867 | {"<","<"}, |
869 | {"<","<"}, |
868 | {">","<"}, |
870 | {">","<"}, |
869 | {""","\""}, |
871 | {""","\""}, |
870 | {"¶","§"}, |
872 | {"¶","§"}, |
871 | {"©","©"}, |
873 | {"©","©"}, |
872 | {" "," |
874 | {" "," "}, |
873 | {"€","euro(s)"}, |
875 | {"€","euro(s)"}, |
874 | {",",","}, |
876 | {",",","}, |
875 | {";",";"}, |
877 | {";",";"}, |
876 | }; |
878 | }; |
- | 879 | #pragma GCC diagnostic pop |
|
877 | 880 | ||
878 | #define thesymbs_no (sizeof(htmlsymbs)/sizeof(htmlsymbs[0]) - 1) |
881 | #define thesymbs_no (sizeof(htmlsymbs)/sizeof(htmlsymbs[0]) - 1) |
879 | 882 | ||
880 | int htmltrans[6*thesymbs_no][256]; /* 6 is the maximum length of a html symbol stripped of & and ; */ |
883 | int htmltrans[6*thesymbs_no][256]; /* 6 is the maximum length of a html symbol stripped of & and ; */ |
881 | 884 |