Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

adding comments and readme.txt for example

  • Loading branch information...
commit 532593578fdbbeef96a6a3626a940b67ca492136 1 parent fe7a3b9
Mike Henke authored

Showing 2 changed files with 9 additions and 1 deletion. Show diff stats Hide diff stats

  1. +6 1 example/index.cfm
  2. +3 0  example/readme.txt
7 example/index.cfm
... ... @@ -1,3 +1,8 @@
  1 +<!--- see readme.txt for testing this example file --->
  2 +
  3 +<!--- component path to jtidy.cfc --->
  4 +<cfset componentPath = "jtidy_cfc.jtidy" />
  5 +
1 6 <cfsavecontent variable="test">
2 7 <html>
3 8 <head>
@@ -47,7 +52,7 @@
47 52 </cfsavecontent>
48 53
49 54 <cfinvoke
50   - component="jtidy_cfc.jtidy"
  55 + component="#componentPath#"
51 56 method="makexHTMLValid"
52 57 strToParse="#test#"
53 58 returnvariable="validxHTML"
3  example/readme.txt
... ... @@ -0,0 +1,3 @@
  1 +1) place index.cfm somewhere under your webroot
  2 +2) replace the componentPath with the jtidy.cfc path
  3 +3) run the page, you should have valid XHTML

0 comments on commit 5325935

Please sign in to comment.
Something went wrong with that request. Please try again.