Skip to content

Commit

Permalink
Renamed deprecated attribute lang to language on <code> elements.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmester committed Feb 18, 2024
1 parent ec33ec0 commit bfdd4b1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/PdfToSvg/DocumentPermissions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace PdfToSvg
/// If <see cref="AllowExtractContent"/> is <c>false</c>, the document can only be converted by specifying the
/// owner password in <see cref="OpenOptions"/> when the document is opened.
/// </para>
/// <code lang="cs" title="Converting a protected document">
/// <code language="cs" title="Converting a protected document">
/// var openOptions = new OpenOptions
/// {
/// Password = "my owner password"
Expand Down
4 changes: 2 additions & 2 deletions src/PdfToSvg/FontResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace PdfToSvg
/// embedding fonts into the extracted SVG. Instead local fonts assumed to be installed on the client machine
/// are used.
/// </para>
/// <code lang="cs" title="Using local fonts instead of embedding fonts">
/// <code language="cs" title="Using local fonts instead of embedding fonts">
/// var conversionOptions = new SvgConversionOptions
/// {
/// FontResolver = FontResolver.LocalFonts,
Expand All @@ -42,7 +42,7 @@ namespace PdfToSvg
/// <see cref="ResolveFont(SourceFont, CancellationToken)"/> method. Here is a custom implementation using a
/// locally installed Open Sans font.
/// </para>
/// <code lang="cs" title="Custom font resolver">
/// <code language="cs" title="Custom font resolver">
/// class OpenSansFontResolver : FontResolver
/// {
/// public override Font ResolveFont(SourceFont sourceFont, CancellationToken cancellationToken)
Expand Down
2 changes: 1 addition & 1 deletion src/PdfToSvg/NamespaceDoc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace PdfToSvg
/// <see cref="PdfPage.ToSvgString(SvgConversionOptions?, System.Threading.CancellationToken)"/>
/// to save each page as SVG.
/// </para>
/// <code lang="cs" title="Convert PDF to SVG">
/// <code language="cs" title="Convert PDF to SVG">
/// using (var doc = PdfDocument.Open("input.pdf"))
/// {
/// var pageIndex = 0;
Expand Down
4 changes: 2 additions & 2 deletions src/PdfToSvg/PdfDocument.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace PdfToSvg
/// <para>
/// The following example opens a PDF file and saves each page as an SVG file.
/// </para>
/// <code lang="cs" title="Convert PDF to SVG">
/// <code language="cs" title="Convert PDF to SVG">
/// using (var doc = PdfDocument.Open("input.pdf"))
/// {
/// var pageIndex = 0;
Expand All @@ -37,7 +37,7 @@ namespace PdfToSvg
/// If the document is password protected, the password must be specified in <see cref="OpenOptions"/> when the
/// document is opened to allow conversion.
/// </para>
/// <code lang="cs" title="Converting a password protected document">
/// <code language="cs" title="Converting a password protected document">
/// var openOptions = new OpenOptions
/// {
/// Password = "document password"
Expand Down
4 changes: 2 additions & 2 deletions src/PdfToSvg/SourceFont.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public abstract class SourceFont
/// In the following example, local fonts will be used instead of the standard fonts provided by
/// PdfToSvg.NET.
/// </para>
/// <code lang="cs" title="Use local standard fonts">
/// <code language="cs" title="Use local standard fonts">
/// public class LocalStandardFontsFontResolver : FontResolver
/// {
/// public override Font ResolveFont(SourceFont sourceFont, CancellationToken cancellationToken)
Expand All @@ -45,7 +45,7 @@ public abstract class SourceFont
/// }
/// }
/// </code>
/// <code lang="cs" title="Using font resolver">
/// <code language="cs" title="Using font resolver">
/// using (var doc = PdfDocument.Open("input.pdf"))
/// {
/// var pageIndex = 0;
Expand Down

0 comments on commit bfdd4b1

Please sign in to comment.