• Danny Tuppeny's avatar
    Fix example code just showing endless spinner when deployed from Windows (#14878) · ae9fdefa
    Danny Tuppeny authored
    * If example code is not found, render a message instead of an endless spinner
    * Trim codeTags to avoid lookup issues with windows carriage returns
    * Trim \r on Windows off the end of code blocks so they're consistently \n
    * Add a test to ensure sample code parses if built on Windows
    * Add a comment about why we trimRight()
    
    Fixes #14820.
    ae9fdefa
example_code_parser.dart 1.53 KB