- Issue created by @sahaj
- πΊπΈUnited States kevinquillen
That was an experimental plugin that looked at submitted text and tried to 'correct' the HTML from before, the results varied a lot. Now that it can submit and respond with HTML (and understand text format HTML tag lists), maybe it is worth bringing back. I would expect the quality to be higher and also in line with what the text format(s) allow.
- Merge request !151Initial changes to reintroduce Reformat HTML plugin. β (Merged) created by kevinquillen
- πΊπΈUnited States kevinquillen
sahaj take a look at the branch (https://git.drupalcode.org/issue/ai-3479175/-/tree/3479175-reformat-plugin) and try it out. These are the changes:
https://git.drupalcode.org/project/ai/-/merge_requests/151/diffs
I brought in a change that pulls the HTML into the selected text instead of dumps it, which would affect all plugins. However, the prompt is also appended that enforces specific markup tags only in the response.
I think the trick here is not just reformatting or formatting HTML, but doing it in a semantic way or improving what is there to be more 'correct'. How can we validate that? Do you have some sample text/markup to share?
Automatically closed - issue fixed for 2 weeks with no activity.