Skip to main content
BROnstott
Known Participant
October 3, 2020
Question

Apply Source Formatting not working

  • October 3, 2020
  • 1 reply
  • 925 views

When I try to apply source formatting, nothing gets formatted. 

 

Is there any way for me to debug this - to figure you what in my code is causing it to fail?

    This topic has been closed for replies.

    1 reply

    Nancy OShea
    Community Expert
    Community Expert
    October 3, 2020

    What kind of file is it? 

    If it's HTML, use the built-in validation service.  Go to Window > Results > Validation.  Click on the white triangle to check your document.   Fix all reported errors.

     

     

    Nancy O'Shea— Product User & Community Expert
    BROnstott
    BROnstottAuthor
    Known Participant
    October 3, 2020

    Nancy - It's a PHP file.  There are no errors or warnings reported by validation.  This is not caused by invalid HTML or PHP code. 

    Nancy OShea
    Community Expert
    Community Expert
    October 3, 2020

    Which version of DW?

    Did you format PHP tag libraries before running Apply Source Formatting? 

     

    Nancy O'Shea— Product User & Community Expert