Functions | |
| char * | html_special_chars (char *where) |
| Replace characters with their HTML equivalents. | |
| char * | replace (char *where, char *what, char *to) |
| Replace all occurence of certain substring with other string. | |
| char * | strip_tags (char *where) |
| Strip HTML tags. | |
Utility functions, considered useful for HTML handling.
| char* html_special_chars | ( | char * | where | ) |
Replace characters with their HTML equivalents.
Replace characters with their HTML entities. You are responsible for freeing result.
| where | string to process. |
| char* replace | ( | char * | where, | |
| char * | what, | |||
| char * | to | |||
| ) |
Replace all occurence of certain substring with other string.
Replaces all occurences of certain string with other string. You are responsible for freeing result.
| where | string to process. | |
| what | substring to replace. | |
| to | string to replace with. |
| char* strip_tags | ( | char * | where | ) |
Strip HTML tags.
Strips HTML tags from the input string. You are responsible for freeing result.
| where | string to process. |
1.5.5