[FogBugz #287] Redactor : le html généré n'est pas conforme pour conversion PDF #350

Open
opened 2023-07-04 07:14:53 +02:00 by fbenoist68 · 6 comments

Assigned To: CLOSED
Project: Mobile Portal
Area: Divers
Category: Bogue
Priority: A fixer impérativement

Assigned To: CLOSED Project: Mobile Portal Area: Divers Category: Bogue Priority: A fixer impérativement
Poster
Owner

Event ID: 1745
Date: 2016-02-13T07:05:42Z
Person: Frederik Benoist
Description: Fermé par Frederik Benoist

Event ID: 1745 Date: 2016-02-13T07:05:42Z Person: Frederik Benoist Description: Fermé par Frederik Benoist
Poster
Owner

Event ID: 1744
Date: 2016-02-13T07:05:42Z
Person: Frederik Benoist
Description: Résolu (Corrigé) and assigned to Frederik Benoist by Frederik Benoist

Event ID: 1744 Date: 2016-02-13T07:05:42Z Person: Frederik Benoist Description: Résolu (Corrigé) and assigned to Frederik Benoist by Frederik Benoist
Poster
Owner

Event ID: 1379
Date: 2014-07-02T07:20:16Z
Person: Frederik Benoist
Description: Modifié par Frederik Benoist

Event ID: 1379 Date: 2014-07-02T07:20:16Z Person: Frederik Benoist Description: Modifié par Frederik Benoist
Poster
Owner

Event ID: 1378
Date: 2014-07-02T07:19:59Z
Person: Frederik Benoist
Description: Modifié par Frederik Benoist

afin de formater le code.
 
            var html = $.htmlClean(redactor_item.redactor('get'),
                    {
                        format: false,
 
                        allowedAttributes: "style"
                    });
 
En PL/SQL il y aura toujours le besoin de faire un remplace
 
               pvalue := REPLACE (REPLACE (pvalue, '"', ''''), '\', '');
 
 
 
 
Event ID: 1378 Date: 2014-07-02T07:19:59Z Person: Frederik Benoist Description: Modifié par Frederik Benoist <div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.800000190734863px"> Prise en compte du plugin &nbsp;<a href="https://github.com/components/jquery-htmlclean/" style="color: rgb(17, 85, 204)" target="_blank" rel="nofollow noopener noreferrer">https://github.com/components/jquery-htmlclean/</a></div> <div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.800000190734863px"> afin de formater le code.</div> <div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.800000190734863px"> &nbsp;</div> <div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.800000190734863px"> <div> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var html = $.htmlClean(redactor_item.redactor(&#39;get&#39;),</div> <div> <div> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div> <div> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; format: false,</div> <div> &nbsp;</div> <div> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; allowedAttributes: [[&quot;style&quot;]]</div> <div> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });</div> <div> &nbsp;</div> </div> </div> <div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.800000190734863px"> En PL/SQL il y aura toujours le besoin de faire un remplace</div> <div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.800000190734863px"> &nbsp;</div> <div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.800000190734863px"> <div> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;pvalue := REPLACE (REPLACE (pvalue, &#39;&quot;&#39;, &#39;&#39;&#39;&#39;), &#39;\&#39;, &#39;&#39;);</div> <div> &nbsp;</div> <div> &nbsp;</div> <div> &nbsp;</div> </div> <div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.800000190734863px"> &nbsp;</div>
Poster
Owner

Event ID: 1262
Date: 2014-02-23T16:56:39Z
Person: Frederik Benoist
Description: Attribué à Frederik Benoist par Frederik Benoist

Event ID: 1262 Date: 2014-02-23T16:56:39Z Person: Frederik Benoist Description: Attribué à Frederik Benoist par Frederik Benoist
Poster
Owner

Event ID: 1261
Date: 2014-02-23T16:56:38Z
Person: Frederik Benoist
Description: Ouvert par Frederik Benoist

Event ID: 1261 Date: 2014-02-23T16:56:38Z Person: Frederik Benoist Description: Ouvert par Frederik Benoist
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: fbenoist68/mobileportal#350
There is no content yet.