Skip to content

Commit a256925

Browse files
Merge pull request #1950 from syncfusion-content/876039_master
876039: Resolve UG Documentation staging error.
2 parents bdbd024 + ff7ed78 commit a256925

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ You can set the runtimes folder path explicitly in BlinkPath property in BlinkCo
3434
<br/><br/>
3535
Ex path: <i>C:\HtmlConversion\HTMl-to-PDF\HTMl-to-PDF\bin\Debug\net7.0\runtimes\win-x64\native\</i>
3636
<br/><br/>
37-
{% highlight html %}
37+
{% highlight c# tabtitle="C# [Cross-platform]" %}
3838

3939
//Initialize the HTML to PDF converter.
4040
HtmlToPdfConverter htmlConverter = new HtmlToPdfConverter();
@@ -137,7 +137,7 @@ Also, please add the following command line arguments in our converter setting.
137137
<table>
138138
<tr>
139139
<td>
140-
{% highlight c# tabtitle="C#" %}
140+
{% highlight %}
141141

142142
//Set command line arguments to run without sandbox.
143143
blinkConverterSettings.CommandLineArguments.Add("--no-sandbox");
@@ -247,7 +247,7 @@ blinkConverterSettings.CommandLineArguments.Add("--disable-setuid-sandbox");
247247
</th>
248248
<td>To overcome the exception, you can add read, write, and execute permissions for the temporary folder. Refer to the following code sample to set the temp folder.
249249
<br><br/>
250-
{% highlight c# tabtitle="C#" %}
250+
{% highlight %}
251251

252252
BlinkConverterSettings settings = new BlinkConverterSettings();
253253
settings.TempPath = "D://MyProject//bin";
@@ -330,7 +330,7 @@ Check the HTML file or URL is rendered properly in Chrome browser's print previe
330330
<br><br/>
331331
<img src="htmlconversion_images/Troubleshooting_webpage_exception_Linux.png" alt="ExcludeAssets">
332332
<br><br/>
333-
{% highlight c# tabtitle="C#" %}
333+
{% highlight %}
334334

335335
COPY . /app
336336
WORKDIR /app
@@ -362,7 +362,7 @@ RUN chmod +x /app/runtimes/linux/native/chrome && \
362362
</th>
363363
<td>To overcome this issue, add suitable delay for the conversion using the <a href="https://help.syncfusion.com/cr/file-formats/Syncfusion.HtmlConverter.BlinkConverterSettings.html#Syncfusion_HtmlConverter_BlinkConverterSettings_AdditionalDelay">AdditionalDelay</a> property of the HTMLConverter.
364364
<br><br/>
365-
{% highlight c# tabtitle="C#" %}
365+
{% highlight %}
366366

367367
BlinkConverterSettings settings = new BlinkConverterSettings();
368368
settings.AdditionalDelay = 4000;
@@ -431,7 +431,7 @@ Refer to this <a href="https://www.syncfusion.com/kb/10258/how-to-convert-html-t
431431
</th>
432432
<td>You can able to bypass the invalid SSL certificate errors using the command line arguments property of Blink converter settings.
433433
<br><br/>
434-
{% highlight c# tabtitle="C#" %}
434+
{% highlight %}
435435

436436
BlinkConverterSettings settings = new BlinkConverterSettings();
437437
settings.CommandLineArguments.Add("--ignore-certificate-errors");
@@ -461,7 +461,7 @@ settings.CommandLineArguments.Add("--ignore-certificate-errors");
461461
</th>
462462
<td>We can resolve this permission related failure in the Blink rendering engine using below command line arguments in our converter settings.
463463
<br><br/>
464-
{% highlight c# tabtitle="C#" %}
464+
{% highlight %}
465465

466466
//Set command line arguments to run without sandbox.
467467
blinkConverterSettings.CommandLineArguments.Add("--no-sandbox");
@@ -591,7 +591,7 @@ To resolve this issue, we can install the chromium using the docker file and set
591591
Docker File:<br><br>
592592
{% tabs %}
593593

594-
{% highlight c# tabtitle="C#" %}
594+
{% highlight %}
595595

596596
FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base
597597

@@ -617,7 +617,7 @@ Docker File:<br><br>
617617

618618
Code snippet:
619619

620-
{% highlight c# tabtitle="C#" %}
620+
{% highlight %}
621621

622622
BlinkConverterSettings settings = new BlinkConverterSettings();
623623

@@ -657,7 +657,7 @@ To resolve this issue, we can add inline styles in element. However, we have att
657657

658658
{% tabs %}
659659

660-
{% highlight c# tabtitle="C#" %}
660+
{% highlight c# tabtitle="C# [Cross-platform]" %}
661661

662662
HtmlToPdfConverter htmlConverter = new HtmlToPdfConverter();
663663
//Initialize blink converter settings.

0 commit comments

Comments
 (0)