When you convert a Knowledge Article to PDF from a Salesforce Case, the resulting PDF may not maintain the expected word wrap formatting. Specifically, content may appear to run off the edge of the page rather than wrapping within the page margins.
This issue occurs when the article contains an image or a link URL that is wider than the standard PDF page width. The PDF converter uses the raw source width of the content, which can cause overflow for images and long unformatted URLs.
The following steps address the formatting issue for both images and links in Knowledge Articles that are converted to PDF.
If an image in the article is causing the content to exceed the PDF page width:
Important Note: If you resize an image after it is already inserted into a Knowledge Article, the PDF converter retains the original image dimensions and ignores the resize. Always resize the image file itself before inserting it.
If a link URL (rather than linked text) is causing the content to exceed the PDF page width, convert the URL to a text hyperlink:
The link now appears as readable text (for example: Salesforce Home Page) and maintains its formatting when converted to PDF.
000386391

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.