List color
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 107
- Forks
- 79
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
There is a problem with the lists, the color is lost in HTML output.
Here is an example of a list with all the blue text in RTF:
{\rtf1\ansi\ansicpg1252\deff0\deflang1036{\fonttbl{\f0\fnil\fprq2\fcharset0 Calibri;}{$
{\colortbl ;\red0\green112\blue192;}
{\*\generator Msftedit 5.41.21.2510;}\viewkind4\uc1\pard\cf1\f0\fs24 Test list:\par
\pard\fi-360\li720 -\tab Item1\par
-\tab Item2\par
-\tab Item3\par
\pard\cf0\b\f1\par
}
And here is the HTML output (we notice that the list is in black instead of blue):
<p><span style="font-family:Calibri;font-size:16px;color:#0070c0;">Test list:</span></p>
<p><span style="font-family:Calibri;">- Item1</span></p>
<p><span style="font-family:Calibri;">- Item2</span></p>
<p><span style="font-family:Calibri;">- Item3</span></p><br>
Thank you in advance for your help.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the RTF-to-HTML conversion path for list items and compare how the color state is carried from the supplied RTF example to generated HTML. Confirm the fix by checking that the list text retains the blue color shown in the expected output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100