| 850 |
} |
} |
| 851 |
|
|
| 852 |
// Apply LML render to content body |
// Apply LML render to content body |
| 853 |
len = lml_render(row[1], content_f, ARTICLE_CONTENT_MAX_LEN, SCREEN_COLS - 3, 1); |
len = lml_render(row[1], content_f, ARTICLE_CONTENT_MAX_LEN, MAX_EDITOR_DATA_LINE_LENGTH - 3, 1); |
| 854 |
content_f[len] = '\0'; |
content_f[len] = '\0'; |
| 855 |
|
|
| 856 |
// Remove control sequence |
// Remove control sequence |
| 860 |
"\n\n【 在 %s (%s) 的大作中提到: 】\n", |
"\n\n【 在 %s (%s) 的大作中提到: 】\n", |
| 861 |
p_article->username, p_article->nickname); |
p_article->username, p_article->nickname); |
| 862 |
|
|
| 863 |
quote_content_lines = split_data_lines(content_f, SCREEN_COLS, line_offsets, ARTICLE_QUOTE_MAX_LINES + 1, 0, NULL); |
quote_content_lines = split_data_lines(content_f, MAX_EDITOR_DATA_LINE_LENGTH - 2, line_offsets, ARTICLE_QUOTE_MAX_LINES + 1, 0, NULL); |
| 864 |
for (i = 0; i < quote_content_lines; i++) |
for (i = 0; i < quote_content_lines; i++) |
| 865 |
{ |
{ |
| 866 |
memcpy(content + len, ": ", 2); // quote line prefix |
memcpy(content + len, ": ", 2); // quote line prefix |