mirror of
https://git.zx2c4.com/cgit
synced 2025-07-24 12:45:10 +02:00
html: html_ntxt with no ellipsis
For implementing a ui-blame page, there is need for a function that outputs a selection from a block of text, transformed for HTML output, but with no further modifications or additions. Signed-off-by: Jeff Smith <whydoubt@gmail.com> Reviewed-by: John Keeping <john@keeping.me.uk>
This commit is contained in:
parent
3b485cc542
commit
70787254b2
3 changed files with 14 additions and 23 deletions
2
html.h
2
html.h
|
@ -19,7 +19,7 @@ __attribute__((format (printf,1,2)))
|
|||
extern void html_attrf(const char *format,...);
|
||||
|
||||
extern void html_txt(const char *txt);
|
||||
extern void html_ntxt(int len, const char *txt);
|
||||
extern ssize_t html_ntxt(const char *txt, size_t len);
|
||||
extern void html_attr(const char *txt);
|
||||
extern void html_url_path(const char *txt);
|
||||
extern void html_url_arg(const char *txt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue