Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS and merge script tweaks. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

levkowetz
Copy link

Tweaked the JS code to work with rfcdiff 1.44, and made the merge script more specific in what it replaces, to work with tweaked JS inline code in the script template in rfcdiff 1.45.

@@ -6,7 +6,7 @@
out = open(sys.argv[3], "w")

for l in inf:
if (l.find("rfcdiff.js") != -1):
if (l.find('<script src="rfcdiff.js"></script>') != -1):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My argument against this change is that it will not properly rewrite a script line that is an absolute URL to a site. Is your plan to instead have some sort of conditional statement in the script?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants