mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
fa20edc44d
- Remove most __ASSEMBLER__ __LINKER__ ifdefs - Rename libc/intrin/bits.h to libc/serialize.h - Block pthread cancelation in fchmodat() polyfill - Remove `clang-format off` statements in third_party
20 lines
519 B
C
20 lines
519 B
C
#ifndef __GDOC_H__
|
|
#define __GDOC_H__
|
|
#include "third_party/tidy/forward.h"
|
|
|
|
/* gdoc.h -- clean up html exported by Google Docs
|
|
|
|
(c) 2012 (W3C) MIT, ERCIM, Keio University
|
|
See tidy.h for the copyright notice.
|
|
|
|
- strip the script element, as the style sheet is a mess
|
|
- strip class attributes
|
|
- strip span elements, leaving their content in place
|
|
- replace <a name=...></a> by id on parent element
|
|
- strip empty <p> elements
|
|
|
|
*/
|
|
|
|
void TY_(CleanGoogleDocument)( TidyDocImpl* doc );
|
|
|
|
#endif /* __GDOC_H__ */
|